summaryrefslogtreecommitdiffstats
path: root/cppcanvas
diff options
context:
space:
mode:
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index 41c2f4ac3557..c6f9c8ef0a41 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -917,8 +917,7 @@ namespace cppcanvas
rRenderState );
//rhbz#1589029 non-transparent text fill background support
- ::Color aEmptyColor( COL_AUTO );
- if (rTextFillColor != aEmptyColor)
+ if (rTextFillColor != COL_AUTO)
{
rendering::RenderState aLocalState( rRenderState );
aLocalState.DeviceColor = vcl::unotools::colorToDoubleSequence(
@@ -1380,8 +1379,7 @@ namespace cppcanvas
rRenderState );
//rhbz#1589029 non-transparent text fill background support
- ::Color aEmptyColor( COL_AUTO );
- if (rTextFillColor != aEmptyColor)
+ if (rTextFillColor != COL_AUTO)
{
rendering::RenderState aLocalState(rRenderState);
aLocalState.DeviceColor = vcl::unotools::colorToDoubleSequence(
@@ -1438,8 +1436,7 @@ namespace cppcanvas
rRenderState );
//rhbz#1589029 non-transparent text fill background support
- ::Color aEmptyColor( COL_AUTO );
- if (rTextFillColor != aEmptyColor)
+ if (rTextFillColor != COL_AUTO)
{
rendering::RenderState aLocalState(rRenderState);
aLocalState.DeviceColor = vcl::unotools::colorToDoubleSequence(