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 | |
parent | 9ffba2ea6c6880bce955b53ab20b5d99e2709cd3 (diff) |
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')
-rw-r--r-- | include/toolkit/controls/roadmapcontrol.hxx | 2 | ||||
-rw-r--r-- | include/vbahelper/vbahelper.hxx | 2 | ||||
-rw-r--r-- | include/vbahelper/vbashapes.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/toolkit/controls/roadmapcontrol.hxx b/include/toolkit/controls/roadmapcontrol.hxx index b2f5399561ab..47feb933ddd6 100644 --- a/include/toolkit/controls/roadmapcontrol.hxx +++ b/include/toolkit/controls/roadmapcontrol.hxx @@ -81,7 +81,7 @@ namespace toolkit void MakeRMItemValidation( sal_Int32 Index, const css::uno::Reference< XInterface >& xRoadmapItem ); css::container::ContainerEvent GetContainerEvent(sal_Int32 Index, const css::uno::Reference< XInterface >& ); - void SetRMItemDefaultProperties( const sal_Int32 Index, const css::uno::Reference< XInterface >& ); + void SetRMItemDefaultProperties( const css::uno::Reference< XInterface >& ); static sal_Int16 GetCurrentItemID( const css::uno::Reference< css::beans::XPropertySet >& xPropertySet ); sal_Int32 GetUniqueID(); 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 ); |