Kaydet (Commit) bb607d6a authored tarafından Caolán McNamara's avatar Caolán McNamara

these can be const

üst 49b62e4d
...@@ -235,7 +235,7 @@ public: ...@@ -235,7 +235,7 @@ public:
static void exception( int err, const rtl::OUString& additionalArgument ) throw( css::script::BasicErrorException ); 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 > class VBAHELPER_DLLPUBLIC VBADispatchListener : public cppu::WeakImplHelper1< css::frame::XDispatchResultListener >
......
...@@ -1120,7 +1120,7 @@ void UserFormGeometryHelper::setHeight( double nHeight ) ...@@ -1120,7 +1120,7 @@ void UserFormGeometryHelper::setHeight( double nHeight )
{ {
exception( rtl::OUString(), css::uno::Exception(), err, additionalArgument ); 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() ); exception( rtl::OUString(), ex, SbERR_INTERNAL_ERROR, rtl::OUString() );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment