diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-24 09:12:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-24 09:12:52 +0100 |
commit | ef3aea797bc33edc6d8a975ed74bb3a38031d62b (patch) | |
tree | 8d0d3f5bf15e088eb7e28577ab59fe0ded8e9fa9 | |
parent | 81b7de3d9f29d3aa14446b5c3624fe62cdbebd30 (diff) |
loplugin:cstylecast
Change-Id: Iffad73733edc9b43b00784373f2c5c8bc69dc7c4
-rw-r--r-- | slideshow/source/engine/transitions/slidechangebase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/transitions/slidechangebase.cxx b/slideshow/source/engine/transitions/slidechangebase.cxx index be5574289192..e5a24e8450a2 100644 --- a/slideshow/source/engine/transitions/slidechangebase.cxx +++ b/slideshow/source/engine/transitions/slidechangebase.cxx @@ -176,7 +176,7 @@ void SlideChangeBase::prefetch( const AnimatableShapeSharedPtr&, return; // register ourselves for view change events - mrEventMultiplexer.addViewHandler( std::shared_ptr<ViewEventHandler>((ViewEventHandler*)this) ); + mrEventMultiplexer.addViewHandler( std::shared_ptr<ViewEventHandler>(this) ); // init views and create slide bitmaps for( const auto& pView : mrViewContainer ) @@ -251,7 +251,7 @@ void SlideChangeBase::end() mbSpritesVisible = false; // remove also from event multiplexer, we're dead anyway - mrEventMultiplexer.removeViewHandler( std::shared_ptr<ViewEventHandler>((ViewEventHandler*)this) ); + mrEventMultiplexer.removeViewHandler( std::shared_ptr<ViewEventHandler>(this) ); } bool SlideChangeBase::operator()( double nValue ) |