diff --git a/src/LibraryParser.cpp b/src/LibraryParser.cpp index 3164a2658..3fb9f5617 100644 --- a/src/LibraryParser.cpp +++ b/src/LibraryParser.cpp @@ -20,11 +20,6 @@ #include "LibraryParser.h" #include -static inline QString unquote(QString quoted) -{ - return quoted.mid(1,quoted.length()-2); -} - bool LibraryParser::startDocument() { buffer.clear(); diff --git a/src/RideAutoImportConfig.cpp b/src/RideAutoImportConfig.cpp index 327fd29d6..3a5d7a4a6 100644 --- a/src/RideAutoImportConfig.cpp +++ b/src/RideAutoImportConfig.cpp @@ -107,7 +107,7 @@ RideAutoImportConfigParser::endElement( const QString&, const QString&, const QS } bool -RideAutoImportConfigParser::startElement( const QString&, const QString&, const QString &name, const QXmlAttributes ) +RideAutoImportConfigParser::startElement( const QString&, const QString&, const QString &name, const QXmlAttributes& ) { buffer.clear(); if(name == "rule") { diff --git a/src/RideAutoImportConfig.h b/src/RideAutoImportConfig.h index 4640f1df3..2f047231f 100644 --- a/src/RideAutoImportConfig.h +++ b/src/RideAutoImportConfig.h @@ -83,7 +83,7 @@ public: bool startDocument(); bool endDocument(); bool endElement( const QString&, const QString&, const QString &qName ); - bool startElement(const QString&, const QString&, const QString &name, const QXmlAttributes ); + bool startElement(const QString&, const QString&, const QString &name, const QXmlAttributes& ); bool characters( const QString& str ); QList getRules();