summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-24 15:44:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-24 15:44:19 +0000
commitbb607d6aa3e65f2e7d46debec9bf7946286aa64e (patch)
tree7b0b849443055dbbe60a3a54ed7901ab550d3a29 /vbahelper
parent49b62e4d12fdaff40ec1c4865166faaa8ba1e7a7 (diff)
these can be const
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() );
}