diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-27 08:49:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-27 09:13:25 +0100 |
commit | 48dc1e48d0fed5e00a3e4b5edf11a90fcc55b5ed (patch) | |
tree | d241315a5658db39879b6c58ca651a0e4469990a /toolkit | |
parent | 4ca1789e5735e2f2926822562c19e1989c8f5ce2 (diff) |
loplugin:unnecessaryoverride look for more patterns
like
bool Foo::bar() {
b = Super::bar();
return b;
}
Change-Id: I5e4c8005a3da7d7487c9039c35dcbb1d17e65bd7
Reviewed-on: https://gerrit.libreoffice.org/68418
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtabpagecontainer.cxx | 6 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 21 |
2 files changed, 0 insertions, 27 deletions
diff --git a/toolkit/source/awt/vclxtabpagecontainer.cxx b/toolkit/source/awt/vclxtabpagecontainer.cxx index 5ef02d4e2919..da6ed54f8941 100644 --- a/toolkit/source/awt/vclxtabpagecontainer.cxx +++ b/toolkit/source/awt/vclxtabpagecontainer.cxx @@ -78,12 +78,6 @@ void SAL_CALL VCLXTabPageContainer::draw( sal_Int32 nX, sal_Int32 nY ) VCLXWindow::draw( nX, nY ); } -css::awt::DeviceInfo VCLXTabPageContainer::getInfo() -{ - css::awt::DeviceInfo aInfo = VCLXDevice::getInfo(); - return aInfo; -} - void SAL_CALL VCLXTabPageContainer::setProperty(const OUString& PropertyName, const Any& Value ) { SolarMutexGuard aGuard; diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 2a296cda4ab2..af82ca3be2c7 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -2486,13 +2486,6 @@ void SAL_CALL VCLXMultiPage::draw( sal_Int32 nX, sal_Int32 nY ) } } -// css::awt::XDevice, -css::awt::DeviceInfo SAL_CALL VCLXMultiPage::getInfo() -{ - css::awt::DeviceInfo aInfo = VCLXDevice::getInfo(); - return aInfo; -} - uno::Any SAL_CALL VCLXMultiPage::getProperty( const OUString& PropertyName ) { SAL_INFO("toolkit", " **** VCLXMultiPage::getProperty " << PropertyName ); @@ -2744,13 +2737,6 @@ void SAL_CALL VCLXTabPage::draw( sal_Int32 nX, sal_Int32 nY ) } } -// css::awt::XDevice, -css::awt::DeviceInfo SAL_CALL VCLXTabPage::getInfo() -{ - css::awt::DeviceInfo aInfo = VCLXDevice::getInfo(); - return aInfo; -} - void SAL_CALL VCLXTabPage::setProperty( const OUString& PropertyName, const css::uno::Any& Value ) @@ -6555,13 +6541,6 @@ void SAL_CALL VCLXFrame::draw( sal_Int32 nX, sal_Int32 nY ) } } -// css::awt::XDevice, -css::awt::DeviceInfo SAL_CALL VCLXFrame::getInfo() -{ - css::awt::DeviceInfo aInfo = VCLXDevice::getInfo(); - return aInfo; -} - void SAL_CALL VCLXFrame::setProperty( const OUString& PropertyName, const css::uno::Any& Value ) |