diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-10 23:53:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-13 11:43:36 +0100 |
commit | b733aa815680ae00576253ab2a1371adb862ccd3 (patch) | |
tree | 1e1c2c0ac10510aafd4e318e6215ef47acc0ab01 /toolkit/source/controls/animatedimages.cxx | |
parent | 66580eea14fba104b47dea6103ead3e7c239bfcf (diff) |
createFromAscii -> RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'toolkit/source/controls/animatedimages.cxx')
-rw-r--r-- | toolkit/source/controls/animatedimages.cxx | 4 |
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; } |