diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-01 21:16:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-01 21:16:15 +0000 |
commit | 81754d9cb1faaf647157717f3ff883a38fed4a46 (patch) | |
tree | ecb8ccb9bb684c2c53b89154b128b4da03af2334 /sd/source/ui/accessibility/AccessiblePageShape.cxx | |
parent | 62879e0f661573f986016380790d117a39394539 (diff) |
Use RTL_CONSTASCII_USTRINGPARAM macro
Diffstat (limited to 'sd/source/ui/accessibility/AccessiblePageShape.cxx')
-rw-r--r-- | sd/source/ui/accessibility/AccessiblePageShape.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/accessibility/AccessiblePageShape.cxx b/sd/source/ui/accessibility/AccessiblePageShape.cxx index b1969fdd7823..574b4a90d27a 100644 --- a/sd/source/ui/accessibility/AccessiblePageShape.cxx +++ b/sd/source/ui/accessibility/AccessiblePageShape.cxx @@ -103,7 +103,7 @@ uno::Reference<XAccessible> SAL_CALL throw (::com::sun::star::uno::RuntimeException) { throw lang::IndexOutOfBoundsException ( - ::rtl::OUString::createFromAscii ("page shape has no children"), + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("page shape has no children") ), static_cast<uno::XWeak*>(this)); } @@ -196,7 +196,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getForeground (void) if (aSet.is()) { uno::Any aColor; - aColor = aSet->getPropertyValue (::rtl::OUString::createFromAscii ("LineColor")); + aColor = aSet->getPropertyValue (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LineColor"))); aColor >>= nColor; } } @@ -247,7 +247,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getBackground (void) if (xBGSet.is()) { uno::Any aColor; - aColor = xBGSet->getPropertyValue (::rtl::OUString::createFromAscii ("FillColor")); + aColor = xBGSet->getPropertyValue (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("FillColor"))); aColor >>= nColor; } else |