diff framework/SVFileReader.h @ 644:6fd0ebfd2bbe

Merge from branch fix-static-analysis
author Chris Cannam
date Wed, 09 Jan 2019 15:25:09 +0000
parents 26a0cb8335e3
children 7540733f5480
line wrap: on
line diff
--- a/framework/SVFileReader.h	Wed Jan 09 14:42:25 2019 +0000
+++ b/framework/SVFileReader.h	Wed Jan 09 15:25:09 2019 +0000
@@ -13,8 +13,8 @@
     COPYING included with this distribution for more information.
 */
 
-#ifndef _SV_FILE_READER_H_
-#define _SV_FILE_READER_H_
+#ifndef SV_FILE_READER_H
+#define SV_FILE_READER_H
 
 #include "layer/LayerFactory.h"
 #include "transform/Transform.h"
@@ -181,19 +181,19 @@
     // For loading a single layer onto an existing pane
     void setCurrentPane(Pane *pane) { m_currentPane = pane; }
     
-    virtual bool startElement(const QString &namespaceURI,
+    bool startElement(const QString &namespaceURI,
                               const QString &localName,
                               const QString &qName,
-                              const QXmlAttributes& atts);
+                              const QXmlAttributes& atts) override;
 
-    virtual bool characters(const QString &);
+    bool characters(const QString &) override;
 
-    virtual bool endElement(const QString &namespaceURI,
+    bool endElement(const QString &namespaceURI,
                             const QString &localName,
-                            const QString &qName);
+                            const QString &qName) override;
 
-    bool error(const QXmlParseException &exception);
-    bool fatalError(const QXmlParseException &exception);
+    bool error(const QXmlParseException &exception) override;
+    bool fatalError(const QXmlParseException &exception) override;
 
     enum FileType
     {