summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/canvas.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-01-07 19:42:36 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-01-07 19:42:36 +0100
commit58ae10ed582d845412210042db97a9c47a66a55b (patch)
tree89c36c96accd645183197c9f59b92667fd6eccbf /canvas/source/vcl/canvas.cxx
parent6eb0522395c236ae6930a300992ad092449f9592 (diff)
RTL_CONSTASCII_(U)STRINGPARAM removed in canvas (WIP)
Change-Id: Id8db06826b77a2b59df51dc0829cd9e7539045fa
Diffstat (limited to 'canvas/source/vcl/canvas.cxx')
-rw-r--r--canvas/source/vcl/canvas.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/canvas/source/vcl/canvas.cxx b/canvas/source/vcl/canvas.cxx
index 9cfb73a53539..4b59cef867e7 100644
--- a/canvas/source/vcl/canvas.cxx
+++ b/canvas/source/vcl/canvas.cxx
@@ -101,8 +101,7 @@ namespace vclcanvas
OutputDevice* pOutDev = reinterpret_cast<OutputDevice*>(nPtr);
if( !pOutDev )
throw lang::NoSupportException(
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
- "Passed OutDev invalid!")),
+ ::rtl::OUString( "Passed OutDev invalid!" ),
NULL);
OutDevProviderSharedPtr pOutdevProvider( new OutDevHolder(*pOutDev) );
@@ -134,7 +133,7 @@ namespace vclcanvas
::rtl::OUString SAL_CALL Canvas::getServiceName( ) throw (::com::sun::star::uno::RuntimeException)
{
- return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( CANVAS_SERVICE_NAME ) );
+ return ::rtl::OUString( CANVAS_SERVICE_NAME );
}
bool Canvas::repaint( const GraphicObjectSharedPtr& rGrf,