summaryrefslogtreecommitdiff
path: root/sd/source/ui/accessibility/AccessiblePageShape.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-01 21:16:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-01 21:16:15 +0000
commit81754d9cb1faaf647157717f3ff883a38fed4a46 (patch)
treeecb8ccb9bb684c2c53b89154b128b4da03af2334 /sd/source/ui/accessibility/AccessiblePageShape.cxx
parent62879e0f661573f986016380790d117a39394539 (diff)
Use RTL_CONSTASCII_USTRINGPARAM macro
Diffstat (limited to 'sd/source/ui/accessibility/AccessiblePageShape.cxx')
-rw-r--r--sd/source/ui/accessibility/AccessiblePageShape.cxx6
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