diff options
author | Kevin Hunter <hunteke@earlham.edu> | 2010-11-18 18:47:55 -0500 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-19 09:55:14 +0000 |
commit | 9321d8acfed33545aecb18f2a6619041066cbc33 (patch) | |
tree | 3ffb4925e9095c9d35fa6297db57211ff51384fa /svtools/source/hatchwindow/hatchwindowfactory.cxx | |
parent | 324612c06bb1c16c575224d5791be1a0afee6a5e (diff) |
EasyHack: RTL_CONST macro from createFromAscii
Diffstat (limited to 'svtools/source/hatchwindow/hatchwindowfactory.cxx')
-rw-r--r-- | svtools/source/hatchwindow/hatchwindowfactory.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/hatchwindow/hatchwindowfactory.cxx b/svtools/source/hatchwindow/hatchwindowfactory.cxx index c5076e8984c3..d0e9786fe99c 100644 --- a/svtools/source/hatchwindow/hatchwindowfactory.cxx +++ b/svtools/source/hatchwindow/hatchwindowfactory.cxx @@ -41,15 +41,15 @@ using namespace ::com::sun::star; uno::Sequence< ::rtl::OUString > SAL_CALL OHatchWindowFactory::impl_staticGetSupportedServiceNames() { uno::Sequence< ::rtl::OUString > aRet(2); - aRet[0] = ::rtl::OUString::createFromAscii("com.sun.star.embed.HatchWindowFactory"); - aRet[1] = ::rtl::OUString::createFromAscii("com.sun.star.comp.embed.HatchWindowFactory"); + aRet[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.embed.HatchWindowFactory" )); + aRet[1] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.embed.HatchWindowFactory" )); return aRet; } //------------------------------------------------------------------------- ::rtl::OUString SAL_CALL OHatchWindowFactory::impl_staticGetImplementationName() { - return ::rtl::OUString::createFromAscii("com.sun.star.comp.embed.HatchWindowFactory"); + return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.embed.HatchWindowFactory" )); } //------------------------------------------------------------------------- |