summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-02 08:35:30 +0200
committerNoel Grandin <noel@peralex.com>2016-06-02 11:13:46 +0200
commita21d34941c01622a479523d9eb2ab4086ff14ca0 (patch)
treed4c957c6be5ba1273fd15ddb81a2bf90cad60465 /svtools
parent7aae883b90850af3f3a0aaada5704682f77c3d02 (diff)
drop some more RTL_CONSTASCII_USTRINGPARAM
Change-Id: I528b0ecb5282178d8e727471beb126cb7d3f2eb4
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/accessibleruler.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/control/accessibleruler.cxx b/svtools/source/control/accessibleruler.cxx
index ccc7e7e1561f..3753d4580d5c 100644
--- a/svtools/source/control/accessibleruler.cxx
+++ b/svtools/source/control/accessibleruler.cxx
@@ -309,7 +309,7 @@ sal_Int32 SvtRulerAccessible::getBackground( )
// XServiceInfo
OUString SAL_CALL SvtRulerAccessible::getImplementationName() throw( RuntimeException, std::exception )
{
- return OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.ui.SvtRulerAccessible" ) );
+ return OUString( "com.sun.star.comp.ui.SvtRulerAccessible" );
}
sal_Bool SAL_CALL SvtRulerAccessible::supportsService( const OUString& sServiceName ) throw( RuntimeException, std::exception )
@@ -319,8 +319,7 @@ sal_Bool SAL_CALL SvtRulerAccessible::supportsService( const OUString& sServiceN
Sequence< OUString > SAL_CALL SvtRulerAccessible::getSupportedServiceNames() throw( RuntimeException, std::exception )
{
- const OUString sServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.accessibility.AccessibleContext" ) );
- return Sequence< OUString >( &sServiceName, 1 );
+ return Sequence< OUString > { OUString("com.sun.star.accessibility.AccessibleContext") };
}
//===== XTypeProvider =======================================================