diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-24 15:44:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-24 15:44:19 +0000 |
commit | bb607d6aa3e65f2e7d46debec9bf7946286aa64e (patch) | |
tree | 7b0b849443055dbbe60a3a54ed7901ab550d3a29 /vbahelper | |
parent | Removed never defined _ENABLE_CUR_DIR (diff) | |
download | core-bb607d6aa3e65f2e7d46debec9bf7946286aa64e.tar.gz core-bb607d6aa3e65f2e7d46debec9bf7946286aa64e.zip |
these can be const
Diffstat (limited to 'vbahelper')
-rwxr-xr-x | vbahelper/inc/vbahelper/vbahelper.hxx | 2 | ||||
-rwxr-xr-x | vbahelper/source/vbahelper/vbahelper.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vbahelper/inc/vbahelper/vbahelper.hxx b/vbahelper/inc/vbahelper/vbahelper.hxx index b3307ea8214e..a55cd790197d 100755 --- a/vbahelper/inc/vbahelper/vbahelper.hxx +++ b/vbahelper/inc/vbahelper/vbahelper.hxx @@ -235,7 +235,7 @@ public: static void exception( int err, const rtl::OUString& additionalArgument ) throw( css::script::BasicErrorException ); - static void exception( css::uno::Exception& ex ) throw( css::script::BasicErrorException ); + static void exception( const css::uno::Exception& ex ) throw( css::script::BasicErrorException ); }; class VBAHELPER_DLLPUBLIC VBADispatchListener : public cppu::WeakImplHelper1< css::frame::XDispatchResultListener > diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx index 2ef6ae939b1f..8211269bcd2a 100755 --- a/vbahelper/source/vbahelper/vbahelper.cxx +++ b/vbahelper/source/vbahelper/vbahelper.cxx @@ -1120,7 +1120,7 @@ void UserFormGeometryHelper::setHeight( double nHeight ) { exception( rtl::OUString(), css::uno::Exception(), err, additionalArgument ); } - void DebugHelper::exception( css::uno::Exception& ex ) throw( css::script::BasicErrorException ) + void DebugHelper::exception( const css::uno::Exception& ex ) throw( css::script::BasicErrorException ) { exception( rtl::OUString(), ex, SbERR_INTERNAL_ERROR, rtl::OUString() ); } |