summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/animatedimages.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-10 23:53:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-13 11:43:36 +0100
commitb733aa815680ae00576253ab2a1371adb862ccd3 (patch)
tree1e1c2c0ac10510aafd4e318e6215ef47acc0ab01 /toolkit/source/controls/animatedimages.cxx
parent66580eea14fba104b47dea6103ead3e7c239bfcf (diff)
createFromAscii -> RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'toolkit/source/controls/animatedimages.cxx')
-rw-r--r--toolkit/source/controls/animatedimages.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/animatedimages.cxx b/toolkit/source/controls/animatedimages.cxx
index c2fd91f1ea46..8ee3bbd866b3 100644
--- a/toolkit/source/controls/animatedimages.cxx
+++ b/toolkit/source/controls/animatedimages.cxx
@@ -289,7 +289,7 @@ namespace toolkit
//------------------------------------------------------------------------------------------------------------------
::rtl::OUString SAL_CALL AnimatedImagesControlModel::getImplementationName( ) throw(RuntimeException)
{
- return ::rtl::OUString::createFromAscii( "org.openoffice.comp.toolkit.AnimatedImagesControlModel" );
+ return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("org.openoffice.comp.toolkit.AnimatedImagesControlModel"));
}
//------------------------------------------------------------------------------------------------------------------
@@ -297,7 +297,7 @@ namespace toolkit
{
Sequence< ::rtl::OUString > aServiceNames(2);
aServiceNames[0] = ::rtl::OUString::createFromAscii( szServiceName_AnimatedImagesControlModel );
- aServiceNames[1] = ::rtl::OUString::createFromAscii( "com.sun.star.awt.UnoControlModel" );
+ aServiceNames[1] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.UnoControlModel"));
return aServiceNames;
}