summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper')
-rwxr-xr-xvbahelper/inc/vbahelper/vbahelper.hxx2
-rwxr-xr-xvbahelper/source/vbahelper/vbahelper.cxx2
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() );
}