summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-24 10:48:38 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-24 10:48:38 +0000
commit4fb36f910a6c787d875b5a8d32851e4f699e78b2 (patch)
tree759a3e304d27f190e63ae678dfb326a48f1f4ec0 /cppcanvas
parent053b160ea9a840b0467fa8739acf0da4498ed6e3 (diff)
INTEGRATION: CWS canvas05 (1.10.14); FILE MERGED
2008/04/21 07:50:11 thb 1.10.14.2: RESYNC: (1.10-1.11); FILE MERGED 2007/10/01 13:41:44 thb 1.10.14.1: #i79258# Merge from CWS picom
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/pointaction.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/cppcanvas/source/mtfrenderer/pointaction.cxx b/cppcanvas/source/mtfrenderer/pointaction.cxx
index 4ac18eb1f6d1..a7adecec6ec2 100644
--- a/cppcanvas/source/mtfrenderer/pointaction.cxx
+++ b/cppcanvas/source/mtfrenderer/pointaction.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: pointaction.cxx,v $
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
* This file is part of OpenOffice.org.
*
@@ -109,8 +109,9 @@ namespace cppcanvas
maState()
{
tools::initRenderState(maState,rState);
- maState.DeviceColor = ::vcl::unotools::colorToDoubleSequence( rCanvas->getUNOCanvas()->getDevice(),
- rAltColor );
+ maState.DeviceColor = ::vcl::unotools::colorToDoubleSequence(
+ rAltColor,
+ rCanvas->getUNOCanvas()->getDevice()->getDeviceColorSpace() );
}
bool PointAction::render( const ::basegfx::B2DHomMatrix& rTransformation ) const