diff options
Diffstat (limited to 'scripting/source/protocolhandler')
-rwxr-xr-x[-rw-r--r--] | scripting/source/protocolhandler/exports.dxp | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | scripting/source/protocolhandler/makefile.mk | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | scripting/source/protocolhandler/protocolhandler.component | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | scripting/source/protocolhandler/scripthandler.cxx | 14 | ||||
-rwxr-xr-x[-rw-r--r--] | scripting/source/protocolhandler/scripthandler.hxx | 3 |
5 files changed, 11 insertions, 6 deletions
diff --git a/scripting/source/protocolhandler/exports.dxp b/scripting/source/protocolhandler/exports.dxp index f0e1c69934bc..f0e1c69934bc 100644..100755 --- a/scripting/source/protocolhandler/exports.dxp +++ b/scripting/source/protocolhandler/exports.dxp diff --git a/scripting/source/protocolhandler/makefile.mk b/scripting/source/protocolhandler/makefile.mk index 5a2e92bbbac3..5a2e92bbbac3 100644..100755 --- a/scripting/source/protocolhandler/makefile.mk +++ b/scripting/source/protocolhandler/makefile.mk diff --git a/scripting/source/protocolhandler/protocolhandler.component b/scripting/source/protocolhandler/protocolhandler.component index db177a896ca4..db177a896ca4 100644..100755 --- a/scripting/source/protocolhandler/protocolhandler.component +++ b/scripting/source/protocolhandler/protocolhandler.component diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx index b1268ada4998..3c2f97a040ba 100644..100755 --- a/scripting/source/protocolhandler/scripthandler.cxx +++ b/scripting/source/protocolhandler/scripthandler.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -113,8 +114,8 @@ Reference< XDispatch > SAL_CALL ScriptProtocolHandler::queryDispatch( // get scheme of url Reference< uri::XUriReferenceFactory > xFac ( - m_xFactory->createInstance( rtl::OUString::createFromAscii( - "com.sun.star.uri.UriReferenceFactory") ) , UNO_QUERY ); + m_xFactory->createInstance( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + "com.sun.star.uri.UriReferenceFactory")) ) , UNO_QUERY ); if ( xFac.is() ) { Reference< uri::XUriReference > uriRef( @@ -256,9 +257,9 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification( } else { - ::rtl::OUString reason = ::rtl::OUString::createFromAscii( + ::rtl::OUString reason(RTL_CONSTASCII_USTRINGPARAM( "ScriptProtocolHandler::dispatchWithNotification failed, ScriptProtocolHandler not initialised" - ); + )); invokeResult <<= reason; } @@ -401,8 +402,8 @@ void ScriptProtocolHandler::createScriptProvider() Reference< XComponentContext > xCtx( xProps->getPropertyValue( dc ), UNO_QUERY_THROW ); - ::rtl::OUString tmspf = ::rtl::OUString::createFromAscii( - "/singletons/com.sun.star.script.provider.theMasterScriptProviderFactory"); + ::rtl::OUString tmspf(RTL_CONSTASCII_USTRINGPARAM( + "/singletons/com.sun.star.script.provider.theMasterScriptProviderFactory")); Reference< provider::XScriptProviderFactory > xFac( xCtx->getValueByName( tmspf ), UNO_QUERY_THROW ); @@ -563,3 +564,4 @@ extern "C" } // extern "C" +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scripting/source/protocolhandler/scripthandler.hxx b/scripting/source/protocolhandler/scripthandler.hxx index 164a8bcfe593..cf3c68cc3341 100644..100755 --- a/scripting/source/protocolhandler/scripthandler.hxx +++ b/scripting/source/protocolhandler/scripthandler.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -149,3 +150,5 @@ public: } #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |