summaryrefslogtreecommitdiffstats
path: root/include/oox/dump
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-20 12:38:10 +0200
committerNoel Grandin <noel@peralex.com>2015-01-26 08:42:28 +0200
commitb44cbb26efe1d0b0950b1e1613e131b506dc3876 (patch)
tree9b4d5d99e5dad0971079b997a02a6d96536709ca /include/oox/dump
parentconvert to use std random instead of boost (diff)
downloadcore-b44cbb26efe1d0b0950b1e1613e131b506dc3876.tar.gz
core-b44cbb26efe1d0b0950b1e1613e131b506dc3876.zip
new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
Diffstat (limited to 'include/oox/dump')
-rw-r--r--include/oox/dump/dffdumper.hxx2
-rw-r--r--include/oox/dump/dumperbase.hxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/oox/dump/dffdumper.hxx b/include/oox/dump/dffdumper.hxx
index 25683ea14aa8..257642fe8d3c 100644
--- a/include/oox/dump/dffdumper.hxx
+++ b/include/oox/dump/dffdumper.hxx
@@ -44,7 +44,7 @@ protected:
virtual bool implReadRecordHeader( BinaryInputStream& rBaseStrm, sal_Int64& ornRecId, sal_Int64& ornRecSize ) SAL_OVERRIDE;
virtual void implWriteExtHeader() SAL_OVERRIDE;
virtual void implDumpRecordBody() SAL_OVERRIDE;
- virtual void implDumpClientAnchor();
+ void implDumpClientAnchor();
private:
sal_uInt32 dumpDffSimpleColor( const String& rName );
diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx
index 9a89f0ae5973..e055832c2445 100644
--- a/include/oox/dump/dumperbase.hxx
+++ b/include/oox/dump/dumperbase.hxx
@@ -963,8 +963,8 @@ protected:
const OUString& rSysFileName );
virtual bool implIsValid() const SAL_OVERRIDE;
- virtual const OUString* implGetOption( const OUString& rKey ) const;
- virtual NameListRef implGetNameList( const OUString& rListName ) const;
+ const OUString* implGetOption( const OUString& rKey ) const;
+ NameListRef implGetNameList( const OUString& rListName ) const;
private:
typedef ::boost::shared_ptr< SharedConfigData > SharedConfigDataRef;
@@ -1734,7 +1734,7 @@ public:
protected:
virtual void implDumpText( TextInputStream& rTextStrm ) SAL_OVERRIDE;
- virtual void implDumpLine( const OUString& rLine, sal_uInt32 nLine );
+ void implDumpLine( const OUString& rLine, sal_uInt32 nLine );
};