diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-05 09:04:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-05 11:11:41 +0200 |
commit | e3a44cbb1d01a1fe5e6321b29e215f4a13ddee6a (patch) | |
tree | 0db1e26d3d2f227ca2f29764202c05bad6bc63b9 /include/vbahelper | |
parent | loplugin:checkunusedparams in vcl (diff) | |
download | core-e3a44cbb1d01a1fe5e6321b29e215f4a13ddee6a.tar.gz core-e3a44cbb1d01a1fe5e6321b29e215f4a13ddee6a.zip |
loplugin:checkunusedparams in toolkit..vbahelper
the extra argument on the runtimeexception method was only ever passed
an "OUString()"
Change-Id: I0ea19ae9328760918f1267f27ba103432fff0b47
Reviewed-on: https://gerrit.libreoffice.org/37274
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vbahelper')
-rw-r--r-- | include/vbahelper/vbahelper.hxx | 2 | ||||
-rw-r--r-- | include/vbahelper/vbashapes.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vbahelper/vbahelper.hxx b/include/vbahelper/vbahelper.hxx index 2f27dc88f0a2..4d44a6968206 100644 --- a/include/vbahelper/vbahelper.hxx +++ b/include/vbahelper/vbahelper.hxx @@ -271,7 +271,7 @@ public: static void basicexception( const css::uno::Exception& ex ); /// @throws css::script::BasicErrorException - static void runtimeexception( int err, const OUString& additionalArgument ); + static void runtimeexception( int err ); }; } // vba diff --git a/include/vbahelper/vbashapes.hxx b/include/vbahelper/vbashapes.hxx index 118ac007c270..c70876891a18 100644 --- a/include/vbahelper/vbashapes.hxx +++ b/include/vbahelper/vbashapes.hxx @@ -72,7 +72,7 @@ protected: /// @throws css::uno::RuntimeException css::uno::Any AddEllipse( sal_Int32 startX, sal_Int32 startY, sal_Int32 nLineWidth, sal_Int32 nLineHeight, const css::uno::Any& rRange ); /// @throws css::uno::RuntimeException - css::uno::Any AddTextboxInWriter( sal_Int32 _nOrientation, sal_Int32 _nLeft, sal_Int32 _nTop, sal_Int32 _nWidth, sal_Int32 _nHeight ); + css::uno::Any AddTextboxInWriter( sal_Int32 _nLeft, sal_Int32 _nTop, sal_Int32 _nWidth, sal_Int32 _nHeight ); OUString createName( const OUString& sName ); //TODO helperapi using a writer document //css::awt::Point calculateTopLeftMargin( css::uno::Reference< ov::XHelperInterface > xDocument ); |