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 | bfd81bb77a0eda6797b34fdb81b62e88b4e77a57 (patch) | |
tree | 80384cdf10eb50c686c4d8cfea1a8fd452ccd1a3 /vbahelper | |
parent | ec6d3770eb8e078fdb5cb7bdb7958de5184696ff (diff) |
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 09e239e050..bc6668f537 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 149221d3e7..5d5f6ecfc2 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() ); } |