[Libreoffice-commits] .: vbahelper/inc vbahelper/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Mar 24 08:44:31 PDT 2011


 vbahelper/inc/vbahelper/vbahelper.hxx    |    2 +-
 vbahelper/source/vbahelper/vbahelper.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit bfd81bb77a0eda6797b34fdb81b62e88b4e77a57
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Mar 24 15:44:19 2011 +0000

    these can be const

diff --git a/vbahelper/inc/vbahelper/vbahelper.hxx b/vbahelper/inc/vbahelper/vbahelper.hxx
index 09e239e..bc6668f 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 149221d..5d5f6ec 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() );
     }


More information about the Libreoffice-commits mailing list