diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-03-22 09:59:59 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-03-22 09:59:59 +0000 |
commit | c720c082e6341c0f0373ad0141e7bcdac17a0e1d (patch) | |
tree | caa1b89f9b7d436ab513e76303218f9599a41cac /canvas | |
parent | 175142296f92b6b0a5be9e7debf851d6559aaebf (diff) |
INTEGRATION: CWS cairofixes01 (1.2.2); FILE MERGED
2006/03/02 17:56:18 radekdoulik 1.2.2.1: Issue number: 62722
Submitted by: radekdoulik
Reviewed by: radekdoulik
2006-02-22 Radek Doulik <rodo@novell.com>
*
build/src680-m152/canvas/source/cairo/cairo_canvashelper_text.cxx
(cairocanvas): use depth of surface when creating virtual vcl
device
* build/src680-m152/canvas/source/cairo/cairo_cairo.cxx (cairo):
new function, returns surface bit depth
Diffstat (limited to 'canvas')
-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 |