summaryrefslogtreecommitdiff
path: root/starmath/source/mathmlimport.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-08 15:58:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-11 12:13:46 +0100
commit3af500580b1c82eabd60335c9ebc458a3f68850c (patch)
treee0ad105be694cfb46221d16e9ce987879794fa04 /starmath/source/mathmlimport.cxx
parent0f9a596aa853b4f2beeff25c131246a7b31492a4 (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 'starmath/source/mathmlimport.cxx')
-rw-r--r--starmath/source/mathmlimport.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index 3697f23b3c4d..59fa00467b42 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -423,54 +423,54 @@ const uno::Sequence< sal_Int8 > & SmXMLImport::getUnoTunnelId() throw()
return theSmXMLImportUnoTunnelId::get().getSeq();
}
-OUString SAL_CALL SmXMLImport_getImplementationName() throw()
+OUString SmXMLImport_getImplementationName() throw()
{
return OUString( "com.sun.star.comp.Math.XMLImporter" );
}
-uno::Sequence< OUString > SAL_CALL SmXMLImport_getSupportedServiceNames()
+uno::Sequence< OUString > SmXMLImport_getSupportedServiceNames()
throw()
{
return uno::Sequence<OUString>{ IMPORT_SVC_NAME };
}
-uno::Reference< uno::XInterface > SAL_CALL SmXMLImport_createInstance(
+uno::Reference< uno::XInterface > SmXMLImport_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
{
return static_cast<cppu::OWeakObject*>(new SmXMLImport(comphelper::getComponentContext(rSMgr), SmXMLImport_getImplementationName(), SvXMLImportFlags::ALL));
}
-OUString SAL_CALL SmXMLImportMeta_getImplementationName() throw()
+OUString SmXMLImportMeta_getImplementationName() throw()
{
return OUString( "com.sun.star.comp.Math.XMLOasisMetaImporter" );
}
-uno::Sequence< OUString > SAL_CALL SmXMLImportMeta_getSupportedServiceNames()
+uno::Sequence< OUString > SmXMLImportMeta_getSupportedServiceNames()
throw()
{
return uno::Sequence<OUString>{ IMPORT_SVC_NAME };
}
-uno::Reference< uno::XInterface > SAL_CALL SmXMLImportMeta_createInstance(
+uno::Reference< uno::XInterface > SmXMLImportMeta_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
{
return static_cast<cppu::OWeakObject*>(new SmXMLImport( comphelper::getComponentContext(rSMgr), SmXMLImportMeta_getImplementationName(), SvXMLImportFlags::META ));
}
-OUString SAL_CALL SmXMLImportSettings_getImplementationName() throw()
+OUString SmXMLImportSettings_getImplementationName() throw()
{
return OUString( "com.sun.star.comp.Math.XMLOasisSettingsImporter" );
}
-uno::Sequence< OUString > SAL_CALL SmXMLImportSettings_getSupportedServiceNames()
+uno::Sequence< OUString > SmXMLImportSettings_getSupportedServiceNames()
throw()
{
return uno::Sequence<OUString>{ IMPORT_SVC_NAME };
}
-uno::Reference< uno::XInterface > SAL_CALL SmXMLImportSettings_createInstance(
+uno::Reference< uno::XInterface > SmXMLImportSettings_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
{
return static_cast<cppu::OWeakObject*>(new SmXMLImport( comphelper::getComponentContext(rSMgr), SmXMLImportSettings_getImplementationName(), SvXMLImportFlags::SETTINGS ));
@@ -3115,7 +3115,7 @@ void SmXMLImport::SetConfigurationSettings(const Sequence<PropertyValue>& aConfP
}
}
-extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportMML(SvStream &rStream)
+extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportMML(SvStream &rStream)
{
SmGlobals::ensure();