From 3af500580b1c82eabd60335c9ebc458a3f68850c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Dec 2017 15:58:41 +0200 Subject: 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 Reviewed-by: Noel Grandin --- cui/source/dialogs/colorpicker.cxx | 6 +++--- cui/source/inc/colorpicker.hxx | 6 +++--- cui/source/uno/services.cxx | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'cui') diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx index 2d9d0c4e53ed..8431201742fd 100644 --- a/cui/source/dialogs/colorpicker.cxx +++ b/cui/source/dialogs/colorpicker.cxx @@ -1406,17 +1406,17 @@ private: Reference mxParent; }; -OUString SAL_CALL ColorPicker_getImplementationName() +OUString ColorPicker_getImplementationName() { return OUString( "com.sun.star.cui.ColorPicker" ); } -Reference< XInterface > SAL_CALL ColorPicker_createInstance( Reference< XComponentContext > const & ) +Reference< XInterface > ColorPicker_createInstance( Reference< XComponentContext > const & ) { return static_cast( new ColorPicker ); } -Sequence< OUString > SAL_CALL ColorPicker_getSupportedServiceNames() +Sequence< OUString > ColorPicker_getSupportedServiceNames() { Sequence< OUString > seq { "com.sun.star.ui.dialogs.ColorPicker" }; return seq; diff --git a/cui/source/inc/colorpicker.hxx b/cui/source/inc/colorpicker.hxx index b2b24ba0d7c0..53f0fa611142 100644 --- a/cui/source/inc/colorpicker.hxx +++ b/cui/source/inc/colorpicker.hxx @@ -36,13 +36,13 @@ namespace com { namespace sun { namespace star { namespace uno { namespace cui { -OUString SAL_CALL ColorPicker_getImplementationName(); +OUString ColorPicker_getImplementationName(); -css::uno::Reference SAL_CALL ColorPicker_createInstance( +css::uno::Reference ColorPicker_createInstance( css::uno::Reference const &); /// @throws css::uno::RuntimeException -css::uno::Sequence SAL_CALL ColorPicker_getSupportedServiceNames(); +css::uno::Sequence ColorPicker_getSupportedServiceNames(); } #endif diff --git a/cui/source/uno/services.cxx b/cui/source/uno/services.cxx index 34799d37bf8d..af06b9d07659 100644 --- a/cui/source/uno/services.cxx +++ b/cui/source/uno/services.cxx @@ -34,7 +34,7 @@ namespace }; } -extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL cui_component_getFactory( char const * implName, void * serviceManager, void * registryKey) +extern "C" SAL_DLLPUBLIC_EXPORT void * cui_component_getFactory( char const * implName, void * serviceManager, void * registryKey) { return cppu::component_getFactoryHelper(implName, serviceManager, registryKey, entries); } -- cgit