summaryrefslogtreecommitdiff
path: root/xmlhelp/source/treeview/tvfactory.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-05 14:38:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-05 14:38:22 +0000
commit06beaacf3d80d37d37570314642973b8f7673936 (patch)
treee4d1967bd16e39e30986c555beedfdaca6e6f74d /xmlhelp/source/treeview/tvfactory.cxx
parent73fd3185793f9c2ec0c5c4b6967c89bd82ec070f (diff)
use RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'xmlhelp/source/treeview/tvfactory.cxx')
-rw-r--r--xmlhelp/source/treeview/tvfactory.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmlhelp/source/treeview/tvfactory.cxx b/xmlhelp/source/treeview/tvfactory.cxx
index 21214059a8be..b4361e50d8ef 100644
--- a/xmlhelp/source/treeview/tvfactory.cxx
+++ b/xmlhelp/source/treeview/tvfactory.cxx
@@ -147,7 +147,7 @@ TVFactory::createInstance(
aAny <<= rtl::OUString();
Sequence< Any > seq( 1 );
seq[0] <<= PropertyValue(
- rtl::OUString::createFromAscii( "nodepath" ),
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "nodepath" )),
-1,
aAny,
PropertyState_DIRECT_VALUE );
@@ -208,7 +208,7 @@ TVFactory::getAvailableServiceNames( )
throw( RuntimeException )
{
Sequence< rtl::OUString > seq( 1 );
- seq[0] = rtl::OUString::createFromAscii( "com.sun.star.ucb.HierarchyDataReadAccess" );
+ seq[0] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.ucb.HierarchyDataReadAccess" ));
return seq;
}
@@ -220,7 +220,7 @@ TVFactory::getAvailableServiceNames( )
rtl::OUString SAL_CALL
TVFactory::getImplementationName_static()
{
- return rtl::OUString::createFromAscii( "com.sun.star.help.TreeViewImpl" );
+ return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.help.TreeViewImpl" ));
}
@@ -228,8 +228,8 @@ Sequence< rtl::OUString > SAL_CALL
TVFactory::getSupportedServiceNames_static()
{
Sequence< rtl::OUString > seq( 2 );
- seq[0] = rtl::OUString::createFromAscii( "com.sun.star.help.TreeView" );
- seq[1] = rtl::OUString::createFromAscii( "com.sun.star.ucb.HiearchyDataSource" );
+ seq[0] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.help.TreeView" ));
+ seq[1] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.ucb.HiearchyDataSource" ));
return seq;
}
@@ -263,9 +263,9 @@ static sal_Bool writeInfo( void * pRegistryKey,
const rtl::OUString & rImplementationName,
Sequence< rtl::OUString > const & rServiceNames )
{
- rtl::OUString aKeyName( rtl::OUString::createFromAscii( "/" ) );
+ rtl::OUString aKeyName( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/" )) );
aKeyName += rImplementationName;
- aKeyName += rtl::OUString::createFromAscii( "/UNO/SERVICES" );
+ aKeyName += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES" ));
Reference< registry::XRegistryKey > xKey;
try