diff options
Diffstat (limited to 'vbahelper/source/vbahelper/vbacommandbars.cxx')
-rw-r--r-- | vbahelper/source/vbahelper/vbacommandbars.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vbahelper/source/vbahelper/vbacommandbars.cxx b/vbahelper/source/vbahelper/vbacommandbars.cxx index d55b79792ff8..9993979d888e 100644 --- a/vbahelper/source/vbahelper/vbacommandbars.cxx +++ b/vbahelper/source/vbahelper/vbacommandbars.cxx @@ -151,7 +151,7 @@ ScVbaCommandBars::createCollectionObject( const uno::Any& aSource ) } if( !aRet.hasValue() ) - throw uno::RuntimeException( "Toolbar do not exist" , uno::Reference< uno::XInterface >() ); + throw uno::RuntimeException( "Toolbar do not exist" ); return aRet; } @@ -172,7 +172,7 @@ ScVbaCommandBars::Add( const css::uno::Any& Name, const css::uno::Any& /*Positio { sResourceUrl = m_pCBarHelper->findToolbarByName( m_xNameAccess, sName ); if( !sResourceUrl.isEmpty() ) - throw uno::RuntimeException( "Toolbar exists" , uno::Reference< uno::XInterface >() ); + throw uno::RuntimeException( "Toolbar exists" ); } else { |