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 /io/source/stm/odata.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 'io/source/stm/odata.cxx')
-rw-r--r-- | io/source/stm/odata.cxx | 8 |
1 files changed, 4 insertions, 4 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) ); |