summaryrefslogtreecommitdiff
path: root/io/source
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 /io/source
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 'io/source')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx2
-rw-r--r--io/source/TextOutputStream/TextOutputStream.cxx2
-rw-r--r--io/source/acceptor/acceptor.cxx2
-rw-r--r--io/source/connector/connector.cxx2
-rw-r--r--io/source/services.cxx2
-rw-r--r--io/source/services.hxx24
-rw-r--r--io/source/stm/odata.cxx8
-rw-r--r--io/source/stm/omark.cxx4
-rw-r--r--io/source/stm/opipe.cxx2
-rw-r--r--io/source/stm/opump.cxx2
10 files changed, 25 insertions, 25 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index f2f12e0e1781..66ff058f5037 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -389,7 +389,7 @@ Reference< XInputStream > OTextInputStream::getInputStream()
}
-Reference< XInterface > SAL_CALL TextInputStream_CreateInstance(
+Reference< XInterface > TextInputStream_CreateInstance(
SAL_UNUSED_PARAMETER const Reference< XComponentContext > &)
{
return Reference < XInterface >( static_cast<OWeakObject *>(new OTextInputStream()) );
diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx
index d33cc9d3b6c7..1f859720f8ae 100644
--- a/io/source/TextOutputStream/TextOutputStream.cxx
+++ b/io/source/TextOutputStream/TextOutputStream.cxx
@@ -222,7 +222,7 @@ Reference< XOutputStream > OTextOutputStream::getOutputStream()
}
-Reference< XInterface > SAL_CALL TextOutputStream_CreateInstance(
+Reference< XInterface > TextOutputStream_CreateInstance(
SAL_UNUSED_PARAMETER const Reference< XComponentContext > &)
{
return Reference < XInterface >( static_cast<OWeakObject *>(new OTextOutputStream()) );
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx
index 126fe95bf60a..e27b83acd290 100644
--- a/io/source/acceptor/acceptor.cxx
+++ b/io/source/acceptor/acceptor.cxx
@@ -252,7 +252,7 @@ namespace io_acceptor
return OUString( IMPLEMENTATION_NAME );
}
- Reference< XInterface > SAL_CALL acceptor_CreateInstance( const Reference< XComponentContext > & xCtx)
+ Reference< XInterface > acceptor_CreateInstance( const Reference< XComponentContext > & xCtx)
{
return Reference < XInterface >( static_cast<OWeakObject *>(new OAcceptor(xCtx)) );
}
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx
index 38763906527e..9de568b3f0b8 100644
--- a/io/source/connector/connector.cxx
+++ b/io/source/connector/connector.cxx
@@ -188,7 +188,7 @@ namespace stoc_connector
return connector_getSupportedServiceNames();
}
- Reference< XInterface > SAL_CALL connector_CreateInstance( const Reference< XComponentContext > & xCtx)
+ Reference< XInterface > connector_CreateInstance( const Reference< XComponentContext > & xCtx)
{
return Reference < XInterface >( static_cast<OWeakObject *>(new OConnector(xCtx)) );
}
diff --git a/io/source/services.cxx b/io/source/services.cxx
index 597ce753a61c..f28540058b0d 100644
--- a/io/source/services.cxx
+++ b/io/source/services.cxx
@@ -94,7 +94,7 @@ static const struct ImplementationEntry g_entries[] =
{nullptr, nullptr, nullptr, nullptr, nullptr, 0}
};
-extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL io_component_getFactory(
+extern "C" SAL_DLLPUBLIC_EXPORT void * io_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{
return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey , g_entries );
diff --git a/io/source/services.hxx b/io/source/services.hxx
index 479ac31a698b..a7bed2533ac8 100644
--- a/io/source/services.hxx
+++ b/io/source/services.hxx
@@ -32,67 +32,67 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::registry;
namespace io_acceptor{
- Reference< XInterface > SAL_CALL acceptor_CreateInstance( const Reference< XComponentContext > & xCtx);
+ Reference< XInterface > acceptor_CreateInstance( const Reference< XComponentContext > & xCtx);
OUString acceptor_getImplementationName();
Sequence< OUString > acceptor_getSupportedServiceNames();
}
namespace stoc_connector {
- Reference< XInterface > SAL_CALL connector_CreateInstance( const Reference< XComponentContext > & xCtx);
+ Reference< XInterface > connector_CreateInstance( const Reference< XComponentContext > & xCtx);
OUString connector_getImplementationName();
Sequence< OUString > connector_getSupportedServiceNames();
}
namespace io_TextInputStream {
- Reference< XInterface > SAL_CALL TextInputStream_CreateInstance(SAL_UNUSED_PARAMETER const Reference< XComponentContext > &);
+ Reference< XInterface > TextInputStream_CreateInstance(SAL_UNUSED_PARAMETER const Reference< XComponentContext > &);
OUString TextInputStream_getImplementationName();
Sequence< OUString > TextInputStream_getSupportedServiceNames();
}
namespace io_TextOutputStream {
- Reference< XInterface > SAL_CALL TextOutputStream_CreateInstance(SAL_UNUSED_PARAMETER const Reference< XComponentContext > &);
+ Reference< XInterface > TextOutputStream_CreateInstance(SAL_UNUSED_PARAMETER const Reference< XComponentContext > &);
OUString TextOutputStream_getImplementationName();
Sequence< OUString > TextOutputStream_getSupportedServiceNames();
}
namespace io_stm {
/// @throws Exception
- Reference< XInterface > SAL_CALL OPipeImpl_CreateInstance( const Reference< XComponentContext > & rSMgr );
+ Reference< XInterface > OPipeImpl_CreateInstance( const Reference< XComponentContext > & rSMgr );
OUString OPipeImpl_getImplementationName();
Sequence<OUString> OPipeImpl_getSupportedServiceNames();
/// @throws Exception
- Reference< XInterface > SAL_CALL ODataInputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
+ Reference< XInterface > ODataInputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
OUString ODataInputStream_getImplementationName();
Sequence<OUString> ODataInputStream_getSupportedServiceNames();
/// @throws Exception
- Reference< XInterface > SAL_CALL ODataOutputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
+ Reference< XInterface > ODataOutputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
OUString ODataOutputStream_getImplementationName();
Sequence<OUString> ODataOutputStream_getSupportedServiceNames();
/// @throws Exception
- Reference< XInterface > SAL_CALL OMarkableOutputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
+ Reference< XInterface > OMarkableOutputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
OUString OMarkableOutputStream_getImplementationName();
Sequence<OUString> OMarkableOutputStream_getSupportedServiceNames();
/// @throws Exception
- Reference< XInterface > SAL_CALL OMarkableInputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
+ Reference< XInterface > OMarkableInputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
OUString OMarkableInputStream_getImplementationName() ;
Sequence<OUString> OMarkableInputStream_getSupportedServiceNames();
/// @throws Exception
- Reference< XInterface > SAL_CALL OObjectOutputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
+ Reference< XInterface > OObjectOutputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
OUString OObjectOutputStream_getImplementationName();
Sequence<OUString> OObjectOutputStream_getSupportedServiceNames();
/// @throws Exception
- Reference< XInterface > SAL_CALL OObjectInputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
+ Reference< XInterface > OObjectInputStream_CreateInstance( const Reference< XComponentContext > & rSMgr );
OUString OObjectInputStream_getImplementationName() ;
Sequence<OUString> OObjectInputStream_getSupportedServiceNames();
/// @throws Exception
- Reference< XInterface > SAL_CALL OPumpImpl_CreateInstance( const Reference< XComponentContext > & rSMgr );
+ Reference< XInterface > OPumpImpl_CreateInstance( const Reference< XComponentContext > & rSMgr );
OUString OPumpImpl_getImplementationName();
Sequence<OUString> OPumpImpl_getSupportedServiceNames();
}
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index bfd6a92a20a7..f9204069f559 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -410,7 +410,7 @@ Sequence< OUString > ODataInputStream::getSupportedServiceNames()
*
****/
-Reference< XInterface > SAL_CALL ODataInputStream_CreateInstance(
+Reference< XInterface > ODataInputStream_CreateInstance(
SAL_UNUSED_PARAMETER const Reference < XComponentContext > & )
{
ODataInputStream *p = new ODataInputStream;
@@ -726,7 +726,7 @@ Sequence< OUString > ODataOutputStream::getSupportedServiceNames()
return ODataOutputStream_getSupportedServiceNames();
}
-Reference< XInterface > SAL_CALL ODataOutputStream_CreateInstance(
+Reference< XInterface > ODataOutputStream_CreateInstance(
SAL_UNUSED_PARAMETER const Reference < XComponentContext > & )
{
ODataOutputStream *p = new ODataOutputStream;
@@ -976,7 +976,7 @@ sal_Int32 OObjectOutputStream::offsetToMark(sal_Int32 nMark)
}
-Reference< XInterface > SAL_CALL OObjectOutputStream_CreateInstance(
+Reference< XInterface > OObjectOutputStream_CreateInstance(
SAL_UNUSED_PARAMETER const Reference < XComponentContext > & )
{
OObjectOutputStream *p = new OObjectOutputStream;
@@ -1259,7 +1259,7 @@ Sequence< OUString > OObjectInputStream::getSupportedServiceNames()
return OObjectInputStream_getSupportedServiceNames();
}
-Reference< XInterface > SAL_CALL OObjectInputStream_CreateInstance( const Reference < XComponentContext > & rCtx )
+Reference< XInterface > OObjectInputStream_CreateInstance( const Reference < XComponentContext > & rCtx )
{
OObjectInputStream *p = new OObjectInputStream( rCtx );
return Reference< XInterface> ( static_cast< OWeakObject * >(p) );
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index 7792e548c66b..fa0e0ae2cb80 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -368,7 +368,7 @@ Sequence< OUString > OMarkableOutputStream::getSupportedServiceNames()
* external binding
*
*------------------------*/
-Reference< XInterface > SAL_CALL OMarkableOutputStream_CreateInstance(
+Reference< XInterface > OMarkableOutputStream_CreateInstance(
SAL_UNUSED_PARAMETER const Reference < XComponentContext > & )
{
OMarkableOutputStream *p = new OMarkableOutputStream( );
@@ -778,7 +778,7 @@ Sequence< OUString > OMarkableInputStream::getSupportedServiceNames()
* external binding
*
*------------------------*/
-Reference < XInterface > SAL_CALL OMarkableInputStream_CreateInstance(
+Reference < XInterface > OMarkableInputStream_CreateInstance(
SAL_UNUSED_PARAMETER const Reference < XComponentContext > & )
{
OMarkableInputStream *p = new OMarkableInputStream( );
diff --git a/io/source/stm/opipe.cxx b/io/source/stm/opipe.cxx
index a382f41304c8..afdc92feef54 100644
--- a/io/source/stm/opipe.cxx
+++ b/io/source/stm/opipe.cxx
@@ -352,7 +352,7 @@ Sequence< OUString > OPipeImpl::getSupportedServiceNames()
*/
-Reference < XInterface > SAL_CALL OPipeImpl_CreateInstance(
+Reference < XInterface > OPipeImpl_CreateInstance(
SAL_UNUSED_PARAMETER const Reference < XComponentContext > & )
{
OPipeImpl *p = new OPipeImpl;
diff --git a/io/source/stm/opump.cxx b/io/source/stm/opump.cxx
index 0f2bc2422a7a..0bcccef819ae 100644
--- a/io/source/stm/opump.cxx
+++ b/io/source/stm/opump.cxx
@@ -442,7 +442,7 @@ Sequence< OUString > Pump::getSupportedServiceNames()
}
-Reference< XInterface > SAL_CALL OPumpImpl_CreateInstance(
+Reference< XInterface > OPumpImpl_CreateInstance(
SAL_UNUSED_PARAMETER const Reference< XComponentContext > & )
{
return Reference< XInterface >( *new Pump );