summaryrefslogtreecommitdiff
path: root/io/source/stm
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/stm
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/stm')
-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
4 files changed, 8 insertions, 8 deletions
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 );