diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-29 09:07:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-29 23:42:26 +0000 |
commit | 309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83 (patch) | |
tree | f8b8cea0a81bc74ca34e8bda2d0dfce939b28ce0 /oox | |
parent | 20deac4903fc0697477e855feeff482b3da234f9 (diff) |
callcatcher: large newly detected unused methods post de-virtualization
i.e lots now able to be detected after...
commit b44cbb26efe1d0b0950b1e1613e131b506dc3876
Author: Noel Grandin <noel@peralex.com>
Date: Tue Jan 20 12:38:10 2015 +0200
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: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ppt/dgmimport.cxx | 6 | ||||
-rw-r--r-- | oox/source/ppt/dgmlayout.cxx | 9 |
2 files changed, 0 insertions, 15 deletions
diff --git a/oox/source/ppt/dgmimport.cxx b/oox/source/ppt/dgmimport.cxx index a64b576a6f7b..91a46bd96752 100644 --- a/oox/source/ppt/dgmimport.cxx +++ b/oox/source/ppt/dgmimport.cxx @@ -97,12 +97,6 @@ const ::oox::drawingml::Theme* QuickDiagrammingImport::getCurrentTheme() const return 0; } -sal_Int32 QuickDiagrammingImport::getSchemeClr( sal_Int32 /*nColorSchemeToken*/ ) const -{ - // TODO - return 0; -} - const oox::drawingml::table::TableStyleListPtr QuickDiagrammingImport::getTableStyles() { return oox::drawingml::table::TableStyleListPtr(); diff --git a/oox/source/ppt/dgmlayout.cxx b/oox/source/ppt/dgmlayout.cxx index 678fb71daecf..9937b3f777ea 100644 --- a/oox/source/ppt/dgmlayout.cxx +++ b/oox/source/ppt/dgmlayout.cxx @@ -148,15 +148,6 @@ const ::oox::drawingml::Theme* QuickDiagrammingLayout::getCurrentTheme() const return mpThemePtr.get(); } -sal_Int32 QuickDiagrammingLayout::getSchemeClr( sal_Int32 nColorSchemeToken ) const -{ - sal_Int32 nColor = 0; - if( mpThemePtr ) - mpThemePtr->getClrScheme().getColor( nColorSchemeToken, - nColor ); - return nColor; -} - const oox::drawingml::table::TableStyleListPtr QuickDiagrammingLayout::getTableStyles() { return oox::drawingml::table::TableStyleListPtr(); |