summaryrefslogtreecommitdiff
path: root/svtools/source/filter/DocumentToGraphicRenderer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/filter/DocumentToGraphicRenderer.cxx')
-rw-r--r--svtools/source/filter/DocumentToGraphicRenderer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/filter/DocumentToGraphicRenderer.cxx b/svtools/source/filter/DocumentToGraphicRenderer.cxx
index 8d48bca87706..fd3ce0c39be8 100644
--- a/svtools/source/filter/DocumentToGraphicRenderer.cxx
+++ b/svtools/source/filter/DocumentToGraphicRenderer.cxx
@@ -206,7 +206,7 @@ Graphic DocumentToGraphicRenderer::renderToGraphic(
aMtf.Record( pOutputDev );
- if (aPageColor != Color(COL_TRANSPARENT))
+ if (aPageColor != COL_TRANSPARENT)
{
pOutputDev->SetBackground(Wallpaper(aPageColor));
pOutputDev->Erase();