From 1bebf55737d5666d308bd92239e36069c21070f6 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 3 Feb 2020 23:24:18 +0100 Subject: Coding style: move & from type to variable Trivial white-space cleanup according to coding style document. Signed-off-by: Berthold Stoeger --- core/qthelper.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/qthelper.cpp b/core/qthelper.cpp index b8e4822a3..15f3441d8 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -120,9 +120,9 @@ extern "C" char *printGPSCoordsC(const location_t *location) /** * Try to parse in a generic manner a coordinate. */ -static bool parseCoord(const QString& txt, int& pos, const QString& positives, - const QString& negatives, const QString& others, - double& value) +static bool parseCoord(const QString &txt, int &pos, const QString &positives, + const QString &negatives, const QString &others, + double &value) { bool numberDefined = false, degreesDefined = false, minutesDefined = false, secondsDefined = false; @@ -221,7 +221,7 @@ static bool parseCoord(const QString& txt, int& pos, const QString& positives, /** * Parse special coordinate formats that cannot be handled by parseCoord. */ -static bool parseSpecialCoords(const QString& txt, double& latitude, double& longitude) { +static bool parseSpecialCoords(const QString &txt, double &latitude, double &longitude) { QRegExp xmlFormat("(-?\\d+(?:\\.\\d+)?),?\\s+(-?\\d+(?:\\.\\d+)?)"); if (xmlFormat.exactMatch(txt)) { latitude = xmlFormat.cap(1).toDouble(); -- cgit v1.2.3-70-g09d2