From 75afe4e1489acb6ea00a7b59f029c3335af35915 Mon Sep 17 00:00:00 2001 From: Gert Faller Date: Sat, 27 Nov 2010 10:39:04 +0100 Subject: RTL_CONSTASCII_USTRINGPARAM in filters 7 --- hwpfilter/source/hwpreader.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hwpfilter') diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx index 0c9c574e554d..c296ed792cfa 100644 --- a/hwpfilter/source/hwpreader.hxx +++ b/hwpfilter/source/hwpreader.hxx @@ -259,11 +259,11 @@ HwpImportFilter::HwpImportFilter( const Reference< XMultiServiceFactory > xFact p->setDocumentHandler( xHandler ); Sequence< Any > aArgs( 2 ); - aArgs[0] <<= OUString::createFromAscii( "Local" ); - aArgs[1] <<= OUString::createFromAscii( "Office" ); + aArgs[0] <<= OUString(RTL_CONSTASCII_USTRINGPARAM("Local")); + aArgs[1] <<= OUString(RTL_CONSTASCII_USTRINGPARAM("Office")); Reference< XInterface > xUCB ( xFact->createInstanceWithArguments - (OUString::createFromAscii("com.sun.star.ucb.UniversalContentBroker"), + (OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ucb.UniversalContentBroker")), aArgs)); p->setUCB( xUCB ); -- cgit