From 58ae10ed582d845412210042db97a9c47a66a55b Mon Sep 17 00:00:00 2001 From: "Chr. Rossmanith" Date: Mon, 7 Jan 2013 19:42:36 +0100 Subject: RTL_CONSTASCII_(U)STRINGPARAM removed in canvas (WIP) Change-Id: Id8db06826b77a2b59df51dc0829cd9e7539045fa --- canvas/source/vcl/textlayout.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'canvas/source/vcl/textlayout.cxx') diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx index 4122d8a45797..72ede12ae85b 100644 --- a/canvas/source/vcl/textlayout.cxx +++ b/canvas/source/vcl/textlayout.cxx @@ -466,9 +466,9 @@ namespace vclcanvas #define IMPLEMENTATION_NAME "VCLCanvas::TextLayout" #define SERVICE_NAME "com.sun.star.rendering.TextLayout" - ::rtl::OUString SAL_CALL TextLayout::getImplementationName() throw( uno::RuntimeException ) + OUString SAL_CALL TextLayout::getImplementationName() throw( uno::RuntimeException ) { - return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( IMPLEMENTATION_NAME ) ); + return OUString( IMPLEMENTATION_NAME ); } sal_Bool SAL_CALL TextLayout::supportsService( const ::rtl::OUString& ServiceName ) throw( uno::RuntimeException ) @@ -476,10 +476,10 @@ namespace vclcanvas return ServiceName == SERVICE_NAME; } - uno::Sequence< ::rtl::OUString > SAL_CALL TextLayout::getSupportedServiceNames() throw( uno::RuntimeException ) + uno::Sequence< OUString > SAL_CALL TextLayout::getSupportedServiceNames() throw( uno::RuntimeException ) { - uno::Sequence< ::rtl::OUString > aRet(1); - aRet[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( SERVICE_NAME ) ); + uno::Sequence< OUString > aRet(1); + aRet[0] = OUString( SERVICE_NAME ); return aRet; } -- cgit