diff options
Diffstat (limited to 'scripting/source/provider/ProviderCache.cxx')
-rw-r--r-- | scripting/source/provider/ProviderCache.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripting/source/provider/ProviderCache.cxx b/scripting/source/provider/ProviderCache.cxx index 040dfdd437..d27e5d9e9b 100644 --- a/scripting/source/provider/ProviderCache.cxx +++ b/scripting/source/provider/ProviderCache.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. @@ -166,7 +167,7 @@ ProviderCache::populateCache() throw ( RuntimeException ) Reference< lang::XSingleComponentFactory > factory; if ( sal_False == ( xEnum->nextElement() >>= factory ) ) { - throw new RuntimeException( ::rtl::OUString::createFromAscii( " error extracting XSingleComponentFactory from Content enumeration. " ), Reference< XInterface >() ); + throw new RuntimeException( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" error extracting XSingleComponentFactory from Content enumeration. ")), Reference< XInterface >() ); } validateXRef( factory, "ProviderCache::populateCache() invalid factory" ); Reference< lang::XServiceInfo > xServiceInfo( factory, UNO_QUERY_THROW ); @@ -213,10 +214,12 @@ ProviderCache::createProvider( ProviderDetails& details ) throw ( RuntimeExcepti } catch ( RuntimeException& e ) { - ::rtl::OUString temp = ::rtl::OUString::createFromAscii("ProviderCache::createProvider() Error creating provider from factory!!!"); + ::rtl::OUString temp(RTL_CONSTASCII_USTRINGPARAM("ProviderCache::createProvider() Error creating provider from factory!!!")); throw RuntimeException( temp.concat( e.Message ), Reference< XInterface >() ); } return details.provider; } } //end namespace + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |