diff options
Diffstat (limited to 'scripting/source/protocolhandler/scripthandler.cxx')
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx index 36ca322e932e..91565ac23975 100644 --- a/scripting/source/protocolhandler/scripthandler.cxx +++ b/scripting/source/protocolhandler/scripthandler.cxx @@ -84,7 +84,7 @@ void SAL_CALL ScriptProtocolHandler::initialize( if ( aArguments.getLength() && sal_False == ( aArguments[ 0 ] >>= m_xFrame ) ) { - ::rtl::OUString temp = OUSTR( "ScriptProtocolHandler::initialize: could not extract reference to the frame" ); + ::rtl::OUString temp = "ScriptProtocolHandler::initialize: could not extract reference to the frame"; throw RuntimeException( temp, Reference< XInterface >() ); } @@ -396,12 +396,12 @@ void ScriptProtocolHandler::createScriptProvider() } catch ( const RuntimeException & e ) { - ::rtl::OUString temp = OUSTR( "ScriptProtocolHandler::createScriptProvider(), " ); + ::rtl::OUString temp = "ScriptProtocolHandler::createScriptProvider(), "; throw RuntimeException( temp.concat( e.Message ), Reference< XInterface >() ); } catch ( const Exception & e ) { - ::rtl::OUString temp = OUSTR( "ScriptProtocolHandler::createScriptProvider: " ); + ::rtl::OUString temp = "ScriptProtocolHandler::createScriptProvider: "; throw RuntimeException( temp.concat( e.Message ), Reference< XInterface >() ); } } |