From 9a06b99d2f53bd8d0a9ab0936efed9924a2abb88 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 4 Dec 2017 14:20:26 +0200 Subject: 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 Reviewed-by: Noel Grandin --- basctl/source/dlged/dlgedobj.cxx | 10 +++++----- basctl/source/inc/dlgedobj.hxx | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'basctl') 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 ); -- cgit