diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-24 15:18:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-24 15:18:15 +0000 |
commit | f6bf4636fad07568039f6fd19056e8e601d30f74 (patch) | |
tree | 8a93aebc05d732cb7537339fdb2dbd56f96bb6b7 /sc | |
parent | d478848f1659e0641bc50b6fb1a886068f270e04 (diff) |
WaE: unused variables
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/vba/vbastyle.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/vba/vbastyle.cxx b/sc/source/ui/vba/vbastyle.cxx index c32b0ed7ff09..aaf3dfd24f49 100644 --- a/sc/source/ui/vba/vbastyle.cxx +++ b/sc/source/ui/vba/vbastyle.cxx @@ -75,7 +75,7 @@ ScVbaStyle::ScVbaStyle( const uno::Reference< ov::XHelperInterface >& xParent, c { initialise(); } - catch (uno::Exception& ) + catch (const uno::Exception& ) { DebugHelper::exception(SbERR_METHOD_FAILED, rtl::OUString()); } @@ -87,7 +87,7 @@ ScVbaStyle::ScVbaStyle( const uno::Reference< XHelperInterface >& xParent, const { initialise(); } - catch (uno::Exception& ) + catch (const uno::Exception& ) { DebugHelper::exception(SbERR_METHOD_FAILED, rtl::OUString()); } @@ -119,7 +119,7 @@ ScVbaStyle::setNameLocal( const ::rtl::OUString& NameLocal ) throw (script::Basi { mxPropertySet->setPropertyValue(DISPLAYNAME, uno::makeAny( NameLocal ) ); } - catch (uno::Exception& e) + catch (const uno::Exception& e) { DebugHelper::exception(e); } @@ -133,7 +133,7 @@ ScVbaStyle::getNameLocal() throw (script::BasicErrorException, uno::RuntimeExcep { mxPropertySet->getPropertyValue(DISPLAYNAME) >>= sName; } - catch (uno::Exception &e) + catch (const uno::Exception& ) { DebugHelper::exception(SbERR_METHOD_FAILED, rtl::OUString() ); } @@ -147,7 +147,7 @@ ScVbaStyle::Delete() throw (script::BasicErrorException, uno::RuntimeException) { mxStyleFamilyNameContainer->removeByName(mxStyle->getName()); } - catch (uno::Exception& ) + catch (const uno::Exception& ) { DebugHelper::exception(SbERR_METHOD_FAILED, rtl::OUString()); } |