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 /toolkit | |
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 'toolkit')
-rw-r--r-- | toolkit/source/controls/roadmapcontrol.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/controls/roadmapcontrol.cxx b/toolkit/source/controls/roadmapcontrol.cxx index ccedc899fe5d..cf6de345d9ce 100644 --- a/toolkit/source/controls/roadmapcontrol.cxx +++ b/toolkit/source/controls/roadmapcontrol.cxx @@ -203,7 +203,7 @@ static void lcl_throwIndexOutOfBoundsException( ) } - void UnoControlRoadmapModel::SetRMItemDefaultProperties( const sal_Int32 , const Reference< XInterface >& xRoadmapItem) + void UnoControlRoadmapModel::SetRMItemDefaultProperties( const Reference< XInterface >& xRoadmapItem) { Reference< XPropertySet > xPropertySet( xRoadmapItem, UNO_QUERY ); Reference< XPropertySet > xProps( xRoadmapItem, UNO_QUERY ); @@ -277,7 +277,7 @@ static void lcl_throwIndexOutOfBoundsException( ) Reference< XInterface > xRoadmapItem; Element >>= xRoadmapItem; MakeRMItemValidation( Index, xRoadmapItem); - SetRMItemDefaultProperties( Index, xRoadmapItem ); + SetRMItemDefaultProperties( xRoadmapItem ); maRoadmapItems.insert( maRoadmapItems.begin() + Index, xRoadmapItem); ContainerEvent aEvent = GetContainerEvent(Index, xRoadmapItem); maContainerListeners.elementInserted( aEvent ); @@ -326,7 +326,7 @@ static void lcl_throwIndexOutOfBoundsException( ) Reference< XInterface > xRoadmapItem; Element >>= xRoadmapItem; MakeRMItemValidation( Index, xRoadmapItem); - SetRMItemDefaultProperties( Index, xRoadmapItem ); + SetRMItemDefaultProperties( xRoadmapItem ); maRoadmapItems.erase( maRoadmapItems.begin() + Index ); maRoadmapItems.insert( maRoadmapItems.begin() + Index, xRoadmapItem); //push_back( xRoadmapItem ); ContainerEvent aEvent = GetContainerEvent(Index, xRoadmapItem); |