summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer/emfplus.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppcanvas/source/mtfrenderer/emfplus.cxx')
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index f0c272c7e37f..82df0516d4f1 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1032,7 +1032,7 @@ namespace cppcanvas
EMFP_DEBUG (printf ("EMF+\t\tset gradient\n"));
basegfx::B2DRange aBoundsRectangle (0, 0, 1, 1);
if (brush->type == 4) {
- aGradientService = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LinearGradient"));
+ aGradientService = "LinearGradient";
basegfx::tools::createLinearODFGradientInfo( aGradInfo,
aBoundsRectangle,
aStops.getLength(),
@@ -1040,7 +1040,7 @@ namespace cppcanvas
0 );
} else {
- aGradientService = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("EllipticalGradient"));
+ aGradientService = "EllipticalGradient";
basegfx::tools::createEllipticalODFGradientInfo( aGradInfo,
aBoundsRectangle,
::basegfx::B2DVector( 0, 0 ),
@@ -1055,13 +1055,13 @@ namespace cppcanvas
if( xFactory.is() ) {
uno::Sequence<uno::Any> args( 3 );
beans::PropertyValue aProp;
- aProp.Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Colors"));
+ aProp.Name = "Colors";
aProp.Value <<= aColors;
args[0] <<= aProp;
- aProp.Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Stops"));
+ aProp.Name = "Stops";
aProp.Value <<= aStops;
args[1] <<= aProp;
- aProp.Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AspectRatio"));
+ aProp.Name = "AspectRatio";
aProp.Value <<= static_cast<sal_Int32>(1);
args[2] <<= aProp;