diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-04 14:20:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-05 07:32:46 +0100 |
commit | 9a06b99d2f53bd8d0a9ab0936efed9924a2abb88 (patch) | |
tree | 544f3e51a3978bd234a1c9fcdbf12d9b84352da4 /sd/source | |
parent | eaf89e477af94bd3977aca17d72dd442c7604e63 (diff) |
loplugin:salcall fix non-virtual methods
first, since those are safer to change than virtual methods
Change-Id: Ie3b624019d75ee2b793cee33b3c5f64e994e8bfe
Reviewed-on: https://gerrit.libreoffice.org/45798
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/core/text/textapi.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slideshow/slideshowviewimpl.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slideshow/slideshowviewimpl.hxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/core/text/textapi.cxx b/sd/source/core/text/textapi.cxx index 9f442b469710..0e40f8504af6 100644 --- a/sd/source/core/text/textapi.cxx +++ b/sd/source/core/text/textapi.cxx @@ -147,7 +147,7 @@ rtl::Reference< TextApiObject > TextApiObject::create( SdDrawDocument* pDoc ) return xRet; } -void SAL_CALL TextApiObject::dispose() +void TextApiObject::dispose() { if( mpSource ) { diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index 95ee8c096d23..4dddb8e702f8 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -2677,7 +2677,7 @@ void SAL_CALL SlideshowImpl::setPenColor( sal_Int32 nColor ) setUsePen( true ); // enable pen mode, update color } -void SAL_CALL SlideshowImpl::setEraseAllInk(bool bEraseAllInk) +void SlideshowImpl::setEraseAllInk(bool bEraseAllInk) { if( bEraseAllInk ) { diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx index 978ab77e596f..171e4cd1d6bf 100644 --- a/sd/source/ui/slideshow/slideshowimpl.hxx +++ b/sd/source/ui/slideshow/slideshowimpl.hxx @@ -181,7 +181,7 @@ public: virtual double SAL_CALL getPenWidth() override; virtual void SAL_CALL setPenWidth( double dStrokeWidth ) override; /// @throws css::uno::RuntimeException - void SAL_CALL setEraseAllInk( bool bEraseAllInk ); + void setEraseAllInk( bool bEraseAllInk ); virtual sal_Bool SAL_CALL isRunning( ) override; virtual ::sal_Int32 SAL_CALL getSlideCount( ) override; virtual css::uno::Reference< css::drawing::XDrawPage > SAL_CALL getSlideByIndex( ::sal_Int32 Index ) override; diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx index 201b6e44e979..433db37cda52 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.cxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.cxx @@ -252,7 +252,7 @@ void SAL_CALL SlideShowView::disposing( const lang::EventObject& ) } } -void SAL_CALL SlideShowView::paint( const awt::PaintEvent& e ) +void SlideShowView::paint( const awt::PaintEvent& e ) { ::osl::ClearableMutexGuard aGuard( m_aMutex ); diff --git a/sd/source/ui/slideshow/slideshowviewimpl.hxx b/sd/source/ui/slideshow/slideshowviewimpl.hxx index c92b170c3bf4..777ddeb7e232 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.hxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.hxx @@ -181,7 +181,7 @@ public: virtual void SAL_CALL disposing( const css::lang::EventObject& ) override; /// @throws css::uno::RuntimeException - void SAL_CALL paint( const css::awt::PaintEvent& e ); + void paint( const css::awt::PaintEvent& e ); // XSlideShowView methods virtual css::uno::Reference< css::rendering::XSpriteCanvas > SAL_CALL getCanvas( ) override; |