summaryrefslogtreecommitdiff
path: root/writerperfect/source/wpsimp
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-27 17:38:08 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-27 17:38:08 +0100
commit93a23f29a783b2dfeb08af81d501baafe16af1fb (patch)
treec35e25baa623e021c2892948387d46f29da29be5 /writerperfect/source/wpsimp
parent22d71781ea77d1950641354699dc1dd7dcd97a8d (diff)
RTL_CONSTASCII_USTRINGPARAM in filters 10 (build problem in sal ?)
Diffstat (limited to 'writerperfect/source/wpsimp')
-rw-r--r--writerperfect/source/wpsimp/MSWorksImportFilter.cxx2
-rw-r--r--writerperfect/source/wpsimp/msworks_genericfilter.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/writerperfect/source/wpsimp/MSWorksImportFilter.cxx b/writerperfect/source/wpsimp/MSWorksImportFilter.cxx
index 211d3ae33fd3..9a4488da825d 100644
--- a/writerperfect/source/wpsimp/MSWorksImportFilter.cxx
+++ b/writerperfect/source/wpsimp/MSWorksImportFilter.cxx
@@ -197,7 +197,7 @@ OUString SAL_CALL MSWorksImportFilter::detect( com::sun::star::uno::Sequence< Pr
if ( location == Descriptor.getLength() )
{
Descriptor.realloc(nLength+1);
- Descriptor[location].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TypeName"));
+ Descriptor[location].Name = ::rtl::OUString::createFromAscii( "TypeName" );
}
Descriptor[location].Value <<=sTypeName;
diff --git a/writerperfect/source/wpsimp/msworks_genericfilter.cxx b/writerperfect/source/wpsimp/msworks_genericfilter.cxx
index 695791431103..8d6e7c6fdf62 100644
--- a/writerperfect/source/wpsimp/msworks_genericfilter.cxx
+++ b/writerperfect/source/wpsimp/msworks_genericfilter.cxx
@@ -58,7 +58,7 @@ sal_Bool SAL_CALL component_writeInfo(
sal_Int32 nPos = 0;
Reference< XRegistryKey > xNewKey(
reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey( MSWorksImportFilter_getImplementationName() ) );
- xNewKey = xNewKey->createKey( OUString(RTL_CONSTASCII_USTRINGPARAM("/UNO/SERVICES")) );
+ xNewKey = xNewKey->createKey( OUString::createFromAscii( "/UNO/SERVICES" ) );
const Sequence< OUString > & rSNL = MSWorksImportFilter_getSupportedServiceNames();
const OUString * pArray = rSNL.getConstArray();