diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-08 15:58:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-11 12:13:46 +0100 |
commit | 3af500580b1c82eabd60335c9ebc458a3f68850c (patch) | |
tree | e0ad105be694cfb46221d16e9ce987879794fa04 /extensions/source/propctrlr/stringrepresentation.cxx | |
parent | 0f9a596aa853b4f2beeff25c131246a7b31492a4 (diff) |
loplugin:salcall fix functions
since cdecl is the default calling convention on Windows for
such functions, the annotation is redundant.
Change-Id: I1a85fa27e5ac65ce0e04a19bde74c90800ffaa2d
Reviewed-on: https://gerrit.libreoffice.org/46164
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/propctrlr/stringrepresentation.cxx')
-rw-r--r-- | extensions/source/propctrlr/stringrepresentation.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx index bfc1936f0ff4..492721abedbb 100644 --- a/extensions/source/propctrlr/stringrepresentation.cxx +++ b/extensions/source/propctrlr/stringrepresentation.cxx @@ -51,9 +51,9 @@ namespace comp_StringRepresentation { using namespace ::com::sun::star; // component and service helper functions: -OUString SAL_CALL _getImplementationName(); -uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames(); -uno::Reference< uno::XInterface > SAL_CALL _create( uno::Reference< uno::XComponentContext > const & context ); +OUString _getImplementationName(); +uno::Sequence< OUString > _getSupportedServiceNames(); +uno::Reference< uno::XInterface > _create( uno::Reference< uno::XComponentContext > const & context ); } // closing component helper namespace @@ -611,18 +611,18 @@ bool StringRepresentation::convertStringToGenericValue( const OUString& _rString // component helper namespace namespace comp_StringRepresentation { -OUString SAL_CALL _getImplementationName() { +OUString _getImplementationName() { return OUString( "StringRepresentation"); } -uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames() +uno::Sequence< OUString > _getSupportedServiceNames() { uno::Sequence< OUString > s { "com.sun.star.inspection.StringRepresentation" }; return s; } -uno::Reference< uno::XInterface > SAL_CALL _create( +uno::Reference< uno::XInterface > _create( const uno::Reference< uno::XComponentContext > & context) { return static_cast< ::cppu::OWeakObject * >(new pcr::StringRepresentation(context)); @@ -631,7 +631,7 @@ uno::Reference< uno::XInterface > SAL_CALL _create( } // closing component helper namespace -extern "C" void SAL_CALL createRegistryInfo_StringRepresentation() +extern "C" void createRegistryInfo_StringRepresentation() { ::pcr::PcrModule::getInstance().registerImplementation( comp_StringRepresentation::_getImplementationName(), |