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/presenter/PresenterTextView.cxx | |
parent | aa3b88a93b0fb390db72d2fbcf1972349c62c14a (diff) |
RTL_CONSTASCII_USTRINGPARAM macro
Diffstat (limited to 'sd/source/ui/presenter/PresenterTextView.cxx')
-rw-r--r-- | sd/source/ui/presenter/PresenterTextView.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/ui/presenter/PresenterTextView.cxx b/sd/source/ui/presenter/PresenterTextView.cxx index cf9550baf1c2..0b93c4d657f3 100644 --- a/sd/source/ui/presenter/PresenterTextView.cxx +++ b/sd/source/ui/presenter/PresenterTextView.cxx @@ -73,7 +73,7 @@ Reference<XInterface> SAL_CALL PresenterTextViewService_createInstance ( ::rtl::OUString PresenterTextViewService_getImplementationName (void) throw(RuntimeException) { - return OUString::createFromAscii("com.sun.star.comp.Draw.PresenterTextView"); + return OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.Draw.PresenterTextView")); } @@ -83,7 +83,7 @@ Sequence<rtl::OUString> SAL_CALL PresenterTextViewService_getSupportedServiceNam throw (RuntimeException) { static const ::rtl::OUString sServiceName( - ::rtl::OUString::createFromAscii("com.sun.star.drawing.PresenterTextView")); + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.PresenterTextView"))); return Sequence<rtl::OUString>(&sServiceName, 1); } @@ -193,7 +193,7 @@ void SAL_CALL PresenterTextView::initialize (const Sequence<Any>& rArguments) else { throw RuntimeException( - OUString::createFromAscii("PresenterTextView: invalid number of arguments"), + OUString(RTL_CONSTASCII_USTRINGPARAM("PresenterTextView: invalid number of arguments")), static_cast<XWeak*>(this)); } } @@ -303,15 +303,15 @@ void PresenterTextView::ThrowIfDisposed (void) //===== PresenterTextView::Implementation ===================================== PresenterTextView::Implementation::Implementation (void) - : msTextPropertyName(OUString::createFromAscii("Text")), - msBitmapPropertyName(OUString::createFromAscii("Bitmap")), - msSizePropertyName(OUString::createFromAscii("Size")), - msBackgroundColorPropertyName(OUString::createFromAscii("BackgroundColor")), - msTextColorPropertyName(OUString::createFromAscii("TextColor")), - msFontDescriptorPropertyName(OUString::createFromAscii("FontDescriptor")), - msTopPropertyName(OUString::createFromAscii("Top")), - msTopRelativePropertyName(OUString::createFromAscii("RelativeTop")), - msTotalHeightPropertyName(OUString::createFromAscii("TotalHeight")), + : msTextPropertyName(OUString(RTL_CONSTASCII_USTRINGPARAM("Text"))), + msBitmapPropertyName(OUString(RTL_CONSTASCII_USTRINGPARAM("Bitmap"))), + msSizePropertyName(OUString(RTL_CONSTASCII_USTRINGPARAM("Size"))), + msBackgroundColorPropertyName(OUString(RTL_CONSTASCII_USTRINGPARAM("BackgroundColor"))), + msTextColorPropertyName(OUString(RTL_CONSTASCII_USTRINGPARAM("TextColor"))), + msFontDescriptorPropertyName(OUString(RTL_CONSTASCII_USTRINGPARAM("FontDescriptor"))), + msTopPropertyName(OUString(RTL_CONSTASCII_USTRINGPARAM("Top"))), + msTopRelativePropertyName(OUString(RTL_CONSTASCII_USTRINGPARAM("RelativeTop"))), + msTotalHeightPropertyName(OUString(RTL_CONSTASCII_USTRINGPARAM("TotalHeight"))), mxBitmap(), mpCanvas(), mpOutputDevice(new VirtualDevice(*Application::GetDefaultDevice(), 0, 0)), |