summaryrefslogtreecommitdiffstats
path: root/editeng/source/accessibility
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-05 08:23:16 +0100
committerDavid Tardon <dtardon@redhat.com>2010-11-05 08:23:16 +0100
commitd8ba6b4a371e7e4de6fb5a0f6325c0176acc3398 (patch)
tree27f9445eab11b7f6e9cefee1b81383ce81912b60 /editeng/source/accessibility
parentEasy Hacks : RTL_CONSTASCII_USTRINGPARAM (diff)
downloadcore-d8ba6b4a371e7e4de6fb5a0f6325c0176acc3398.tar.gz
core-d8ba6b4a371e7e4de6fb5a0f6325c0176acc3398.zip
Easy Hacks : RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'editeng/source/accessibility')
-rw-r--r--editeng/source/accessibility/AccessibleComponentBase.cxx4
-rw-r--r--editeng/source/accessibility/AccessibleContextBase.cxx4
-rw-r--r--editeng/source/accessibility/AccessibleEditableTextPara.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/accessibility/AccessibleComponentBase.cxx b/editeng/source/accessibility/AccessibleComponentBase.cxx
index ee41d062c6a0..472ca07424c0 100644
--- a/editeng/source/accessibility/AccessibleComponentBase.cxx
+++ b/editeng/source/accessibility/AccessibleComponentBase.cxx
@@ -200,7 +200,7 @@ sal_Int32 SAL_CALL AccessibleComponentBase::getBackground (void)
::rtl::OUString SAL_CALL AccessibleComponentBase::getTitledBorderText (void)
throw (::com::sun::star::uno::RuntimeException)
{
- return ::rtl::OUString::createFromAscii ("");
+ return ::rtl::OUString ();
}
@@ -209,7 +209,7 @@ sal_Int32 SAL_CALL AccessibleComponentBase::getBackground (void)
::rtl::OUString SAL_CALL AccessibleComponentBase::getToolTipText (void)
throw (::com::sun::star::uno::RuntimeException)
{
- return ::rtl::OUString::createFromAscii ("");
+ return ::rtl::OUString ();
}
diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx
index 2c33b83e2250..0868e6d1a56a 100644
--- a/editeng/source/accessibility/AccessibleContextBase.cxx
+++ b/editeng/source/accessibility/AccessibleContextBase.cxx
@@ -638,7 +638,7 @@ void AccessibleContextBase::SetAccessibleName (
::rtl::OUString AccessibleContextBase::CreateAccessibleDescription (void)
throw (::com::sun::star::uno::RuntimeException)
{
- return ::rtl::OUString::createFromAscii ("Empty Description");
+ return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ("Empty Description"));
}
@@ -647,7 +647,7 @@ void AccessibleContextBase::SetAccessibleName (
::rtl::OUString AccessibleContextBase::CreateAccessibleName (void)
throw (::com::sun::star::uno::RuntimeException)
{
- return ::rtl::OUString::createFromAscii ("Empty Name");
+ return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ("Empty Name"));
}
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index f6e4ff48d2d7..ea0bd2b76254 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -1259,7 +1259,7 @@ namespace accessibility
#ifdef TL_DEBUG
{
uno::Sequence< rtl::OUString > aNames(1);
- aNames.getArray()[0] = rtl::OUString::createFromAscii("CharHeight");
+ aNames.getArray()[0] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CharHeight"));
const rtl::OUString *pNames = aNames.getConstArray();
const uno::Sequence< beans::PropertyValue > aAttribs( getRunAttributes( nIndex, aNames ) );
const beans::PropertyValue *pAttribs = aAttribs.getConstArray();