diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-02 21:09:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-02 21:10:06 +0000 |
commit | 1645ea4b426767197f7842683e3dfc7a7bf09a0b (patch) | |
tree | 82c4409bf2fa6bff4842d439e5c7a26462be933a /sd/source/ui/slideshow/slideshowimpl.cxx | |
parent | aa3b88a93b0fb390db72d2fbcf1972349c62c14a (diff) |
RTL_CONSTASCII_USTRINGPARAM macro
Diffstat (limited to 'sd/source/ui/slideshow/slideshowimpl.cxx')
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index 8818df2bceac..c6d4a836a53e 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -3012,18 +3012,18 @@ void SlideshowImpl::setAutoSaveState( bool bOn) uno::Reference<lang::XMultiServiceFactory> xFac( ::comphelper::getProcessServiceFactory() ); uno::Reference< util::XURLTransformer > xParser( - xFac->createInstance( OUString::createFromAscii("com.sun.star.util.URLTransformer" ) ), + xFac->createInstance( OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.util.URLTransformer" )) ), uno::UNO_QUERY_THROW); util::URL aURL; - aURL.Complete = OUString::createFromAscii("vnd.sun.star.autorecovery:/setAutoSaveState"); + aURL.Complete = OUString(RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.autorecovery:/setAutoSaveState")); xParser->parseStrict(aURL); Sequence< beans::PropertyValue > aArgs(1); - aArgs[0].Name = OUString::createFromAscii("AutoSaveState"); + aArgs[0].Name = OUString(RTL_CONSTASCII_USTRINGPARAM("AutoSaveState")); aArgs[0].Value <<= bOn ? sal_True : sal_False; uno::Reference< frame::XDispatch > xAutoSave( - xFac->createInstance(OUString::createFromAscii("com.sun.star.frame.AutoRecovery")), + xFac->createInstance(OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.AutoRecovery"))), uno::UNO_QUERY_THROW); xAutoSave->dispatch(aURL, aArgs); } |