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 /slideshow | |
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 'slideshow')
-rw-r--r-- | slideshow/source/engine/slide/slideanimations.cxx | 5 | ||||
-rw-r--r-- | slideshow/source/engine/slide/slideanimations.hxx | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/slideshow/source/engine/slide/slideanimations.cxx b/slideshow/source/engine/slide/slideanimations.cxx index f2a1be5665b8..853b603ed9c7 100644 --- a/slideshow/source/engine/slide/slideanimations.cxx +++ b/slideshow/source/engine/slide/slideanimations.cxx @@ -111,11 +111,6 @@ namespace slideshow mpRootNode->end(); } - void SlideAnimations::dispose() - { - mpRootNode.reset(); - maContext.dispose(); - } } } diff --git a/slideshow/source/engine/slide/slideanimations.hxx b/slideshow/source/engine/slide/slideanimations.hxx index 0ae0dd8cb02e..f8c738683a3b 100644 --- a/slideshow/source/engine/slide/slideanimations.hxx +++ b/slideshow/source/engine/slide/slideanimations.hxx @@ -103,9 +103,6 @@ namespace slideshow */ void end(); - /// Release all references. Does not notify anything. - void dispose(); - private: SlideShowContext maContext; const basegfx::B2DVector maSlideSize; |