summaryrefslogtreecommitdiff
path: root/accessibility/source
diff options
context:
space:
mode:
authorKevin Hunter <hunteke@earlham.edu>2010-11-08 15:36:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-08 15:36:22 +0000
commit5a014af1f9302534502b1d46c9f1bd9055a76314 (patch)
treeed1eebef8f658db06678df642e290f692a0b77d2 /accessibility/source
parent27130d37bb35834aef0782c078530e1da222c4ea (diff)
EasyHack: createFromAscii -> RTL_CONST... macro
Diffstat (limited to 'accessibility/source')
-rw-r--r--accessibility/source/extended/accessibletabbar.cxx4
-rw-r--r--accessibility/source/extended/accessibletabbarpage.cxx4
-rw-r--r--accessibility/source/extended/accessibletabbarpagelist.cxx4
-rw-r--r--accessibility/source/extended/accessibletablistboxtable.cxx2
4 files changed, 7 insertions, 7 deletions
diff --git a/accessibility/source/extended/accessibletabbar.cxx b/accessibility/source/extended/accessibletabbar.cxx
index c0b043efd..82c9bb162 100644
--- a/accessibility/source/extended/accessibletabbar.cxx
+++ b/accessibility/source/extended/accessibletabbar.cxx
@@ -208,7 +208,7 @@ namespace accessibility
::rtl::OUString AccessibleTabBar::getImplementationName() throw (RuntimeException)
{
- return ::rtl::OUString::createFromAscii( "com.sun.star.comp.svtools.AccessibleTabBar" );
+ return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.svtools.AccessibleTabBar" ));
}
// -----------------------------------------------------------------------------
@@ -229,7 +229,7 @@ namespace accessibility
Sequence< ::rtl::OUString > AccessibleTabBar::getSupportedServiceNames() throw (RuntimeException)
{
Sequence< ::rtl::OUString > aNames(1);
- aNames[0] = ::rtl::OUString::createFromAscii( "com.sun.star.awt.AccessibleTabBar" );
+ aNames[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.AccessibleTabBar" ));
return aNames;
}
diff --git a/accessibility/source/extended/accessibletabbarpage.cxx b/accessibility/source/extended/accessibletabbarpage.cxx
index e84085803..f3a4084c5 100644
--- a/accessibility/source/extended/accessibletabbarpage.cxx
+++ b/accessibility/source/extended/accessibletabbarpage.cxx
@@ -260,7 +260,7 @@ namespace accessibility
::rtl::OUString AccessibleTabBarPage::getImplementationName() throw (RuntimeException)
{
- return ::rtl::OUString::createFromAscii( "com.sun.star.comp.svtools.AccessibleTabBarPage" );
+ return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.svtools.AccessibleTabBarPage" ));
}
// -----------------------------------------------------------------------------
@@ -281,7 +281,7 @@ namespace accessibility
Sequence< ::rtl::OUString > AccessibleTabBarPage::getSupportedServiceNames() throw (RuntimeException)
{
Sequence< ::rtl::OUString > aNames(1);
- aNames[0] = ::rtl::OUString::createFromAscii( "com.sun.star.awt.AccessibleTabBarPage" );
+ aNames[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.AccessibleTabBarPage" ));
return aNames;
}
diff --git a/accessibility/source/extended/accessibletabbarpagelist.cxx b/accessibility/source/extended/accessibletabbarpagelist.cxx
index 89015b0ae..7c67f59c3 100644
--- a/accessibility/source/extended/accessibletabbarpagelist.cxx
+++ b/accessibility/source/extended/accessibletabbarpagelist.cxx
@@ -428,7 +428,7 @@ namespace accessibility
::rtl::OUString AccessibleTabBarPageList::getImplementationName() throw (RuntimeException)
{
- return ::rtl::OUString::createFromAscii( "com.sun.star.comp.svtools.AccessibleTabBarPageList" );
+ return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.svtools.AccessibleTabBarPageList" ));
}
// -----------------------------------------------------------------------------
@@ -449,7 +449,7 @@ namespace accessibility
Sequence< ::rtl::OUString > AccessibleTabBarPageList::getSupportedServiceNames() throw (RuntimeException)
{
Sequence< ::rtl::OUString > aNames(1);
- aNames[0] = ::rtl::OUString::createFromAscii( "com.sun.star.awt.AccessibleTabBarPageList" );
+ aNames[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.AccessibleTabBarPageList" ));
return aNames;
}
diff --git a/accessibility/source/extended/accessibletablistboxtable.cxx b/accessibility/source/extended/accessibletablistboxtable.cxx
index 3863d8aab..d54e2ed47 100644
--- a/accessibility/source/extended/accessibletablistboxtable.cxx
+++ b/accessibility/source/extended/accessibletablistboxtable.cxx
@@ -283,7 +283,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
::rtl::OUString AccessibleTabListBoxTable::getImplementationName (void) throw (RuntimeException)
{
- return ::rtl::OUString::createFromAscii("com.sun.star.comp.svtools.AccessibleTabListBoxTable");
+ return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.svtools.AccessibleTabListBoxTable" ));
}
// -----------------------------------------------------------------------------
// XAccessibleSelection