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 --- cppu/source/uno/lbmap.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cppu') diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index 4bdf0a6d6d8e..74e167eb336c 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -64,8 +64,8 @@ public: Mapping(Mapping && other): _pMapping(other._pMapping) { other._pMapping = nullptr; } inline ~Mapping(); - inline Mapping & SAL_CALL operator = ( uno_Mapping * pMapping ); - Mapping & SAL_CALL operator = ( const Mapping & rMapping ) + inline Mapping & operator = ( uno_Mapping * pMapping ); + Mapping & operator = ( const Mapping & rMapping ) { return operator = ( rMapping._pMapping ); } Mapping & operator =(Mapping && other) { if (_pMapping != nullptr) { @@ -75,9 +75,9 @@ public: other._pMapping = nullptr; return *this; } - uno_Mapping * SAL_CALL get() const + uno_Mapping * get() const { return _pMapping; } - bool SAL_CALL is() const + bool is() const { return (_pMapping != nullptr); } }; -- cgit