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 /basctl | |
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 'basctl')
-rw-r--r-- | basctl/source/dlged/dlgedobj.cxx | 10 | ||||
-rw-r--r-- | basctl/source/inc/dlgedobj.hxx | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx index f61986d62592..167c48c35cc7 100644 --- a/basctl/source/dlged/dlgedobj.cxx +++ b/basctl/source/dlged/dlgedobj.cxx @@ -441,7 +441,7 @@ void DlgEdObj::PositionAndSizeChange( const beans::PropertyChangeEvent& evt ) SetRectFromProps(); } -void SAL_CALL DlgEdObj::NameChange( const css::beans::PropertyChangeEvent& evt ) +void DlgEdObj::NameChange( const css::beans::PropertyChangeEvent& evt ) { // get old name OUString aOldName; @@ -1100,7 +1100,7 @@ void DlgEdObj::EndListening(bool bRemoveListener) } } -void SAL_CALL DlgEdObj::_propertyChange( const css::beans::PropertyChangeEvent& evt ) +void DlgEdObj::_propertyChange( const css::beans::PropertyChangeEvent& evt ) { if (isListening()) { @@ -1156,7 +1156,7 @@ void SAL_CALL DlgEdObj::_propertyChange( const css::beans::PropertyChangeEvent& } } -void SAL_CALL DlgEdObj::_elementInserted() +void DlgEdObj::_elementInserted() { if (isListening()) { @@ -1165,7 +1165,7 @@ void SAL_CALL DlgEdObj::_elementInserted() } } -void SAL_CALL DlgEdObj::_elementReplaced() +void DlgEdObj::_elementReplaced() { if (isListening()) { @@ -1174,7 +1174,7 @@ void SAL_CALL DlgEdObj::_elementReplaced() } } -void SAL_CALL DlgEdObj::_elementRemoved() +void DlgEdObj::_elementRemoved() { if (isListening()) { diff --git a/basctl/source/inc/dlgedobj.hxx b/basctl/source/inc/dlgedobj.hxx index 86a2f715350f..c59e69c22289 100644 --- a/basctl/source/inc/dlgedobj.hxx +++ b/basctl/source/inc/dlgedobj.hxx @@ -117,21 +117,21 @@ public: virtual void PositionAndSizeChange( const css::beans::PropertyChangeEvent& evt ); /// @throws css::container::NoSuchElementException /// @throws css::uno::RuntimeException - void SAL_CALL NameChange( const css::beans::PropertyChangeEvent& evt ); + void NameChange( const css::beans::PropertyChangeEvent& evt ); /// @throws css::uno::RuntimeException - void SAL_CALL TabIndexChange( const css::beans::PropertyChangeEvent& evt ); + void TabIndexChange( const css::beans::PropertyChangeEvent& evt ); // PropertyChangeListener /// @throws css::uno::RuntimeException - void SAL_CALL _propertyChange(const css::beans::PropertyChangeEvent& evt); + void _propertyChange(const css::beans::PropertyChangeEvent& evt); // ContainerListener /// @throws css::uno::RuntimeException - void SAL_CALL _elementInserted(); + void _elementInserted(); /// @throws css::uno::RuntimeException - void SAL_CALL _elementReplaced(); + void _elementReplaced(); /// @throws css::uno::RuntimeException - void SAL_CALL _elementRemoved(); + void _elementRemoved(); virtual void SetLayer(SdrLayerID nLayer) override; void MakeDataAware( const css::uno::Reference< css::frame::XModel >& xModel ); |