summaryrefslogtreecommitdiff
path: root/comphelper/source/compare/AnyCompareFactory.cxx
diff options
context:
space:
mode:
authorKevin Hunter <hunteke@earlham.edu>2010-11-19 15:13:10 -0500
committerDavid Tardon <dtardon@redhat.com>2010-11-20 07:45:53 +0100
commit6fb8e13b45e018202fd62142bde7fc022e906ed7 (patch)
tree5e15dd03ab77e3f607164e864c5b74e73ccc955b /comphelper/source/compare/AnyCompareFactory.cxx
parentda041554995bb7e98e9564b3cf3252c4a50d4673 (diff)
EasyHack: RTL conversion from createFromAscii
Diffstat (limited to 'comphelper/source/compare/AnyCompareFactory.cxx')
-rw-r--r--comphelper/source/compare/AnyCompareFactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/compare/AnyCompareFactory.cxx b/comphelper/source/compare/AnyCompareFactory.cxx
index 04152c8156cf..787c68d97a18 100644
--- a/comphelper/source/compare/AnyCompareFactory.cxx
+++ b/comphelper/source/compare/AnyCompareFactory.cxx
@@ -65,7 +65,7 @@ public:
if ( xFactory.is() )
{
m_rCollator = Reference< XCollator >(
- xFactory->createInstanceWithContext( OUString::createFromAscii( "com.sun.star.i18n.Collator" ), xContext ),
+ xFactory->createInstanceWithContext( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.i18n.Collator" )), xContext ),
UNO_QUERY );
m_rCollator->loadDefaultCollator( rLocale,
0 ); //???
@@ -133,7 +133,7 @@ Reference< XAnyCompare > SAL_CALL AnyCompareFactory::createAnyCompareByName( con
// for now only OUString properties compare is implemented
// so no check for the property name is done
- if( aPropertyName.equals( OUString::createFromAscii( "Title" ) ) )
+ if( aPropertyName.equals( OUString( RTL_CONSTASCII_USTRINGPARAM( "Title" )) ) )
return m_rAnyCompare;
return Reference< XAnyCompare >();