diff options
-rw-r--r-- | canvas/source/cairo/cairo_canvashelper_text.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper_text.cxx b/canvas/source/cairo/cairo_canvashelper_text.cxx index f9c0b70aaa13..9ffb2adbc9ff 100644 --- a/canvas/source/cairo/cairo_canvashelper_text.cxx +++ b/canvas/source/cairo/cairo_canvashelper_text.cxx @@ -4,9 +4,9 @@ * * $RCSfile: cairo_canvashelper_text.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kz $ $Date: 2006-02-28 10:35:07 $ + * last change: $Author: obo $ $Date: 2006-03-22 10:59:59 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -83,7 +83,7 @@ namespace cairocanvas aSystemGraphicsData.hDrawable = pSurface->getPixmap(); aSystemGraphicsData.pRenderFormat = pSurface->getRenderFormat(); - return new VirtualDevice( &aSystemGraphicsData, 24 ); + return new VirtualDevice( &aSystemGraphicsData, pSurface->getDepth() ); } static bool |