summaryrefslogtreecommitdiff
path: root/svx/source/engine3d/obj3d.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-09 12:30:41 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-09 12:30:41 +0000
commit365a45d8b8e8bae0bde853f437867385088eb24a (patch)
tree9c181c72549fe5da47d28e82a8d652bda6aaf248 /svx/source/engine3d/obj3d.cxx
parent2cd7b530a52240874899181a88af30cfbc581b96 (diff)
INTEGRATION: CWS aw048 (1.41.12); FILE MERGED
2007/04/13 16:47:44 aw 1.41.12.1: #i74631# adapted XPolygon to use Polygon methods where B2DPolygon conversions are needed. Changes for explicit Polygon and XPolygon constructors, some XPolygon usages removed
Diffstat (limited to 'svx/source/engine3d/obj3d.cxx')
-rw-r--r--svx/source/engine3d/obj3d.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx
index 2c30975a8858..18ed3e23fe75 100644
--- a/svx/source/engine3d/obj3d.cxx
+++ b/svx/source/engine3d/obj3d.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: obj3d.cxx,v $
*
- * $Revision: 1.41 $
+ * $Revision: 1.42 $
*
- * last change: $Author: kz $ $Date: 2007-02-12 14:49:25 $
+ * last change: $Author: kz $ $Date: 2007-05-09 13:30:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -4796,8 +4796,9 @@ void E3dCompoundObject::ImpDrawShadowPolygon(const basegfx::B2DPolyPolygon& rPol
pDevice->SetFillColor();
}
- Polygon aPolygon(aPoly);
- pDevice->DrawPolygon(aPoly);
+ // #i74631# Polygon constructor with B2DPolygon is now explicit; found a bug here
+ const Polygon aPolygon(aPoly);
+ pDevice->DrawPolygon(aPolygon);
}
}
}