summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2008-05-14 08:22:09 +0000
committerArmin Weiss <aw@openoffice.org>2008-05-14 08:22:09 +0000
commit8c60e50f5f06d8ecdd7207f5daecc31905574a55 (patch)
tree14fb2ce494dbcbabe57b9582cc12f72e96870a65 /drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
parenta1d9844c940ec385d3ec35966656103e0ba68068 (diff)
#i39532# aw033 progresses from git
Diffstat (limited to 'drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx')
-rw-r--r--drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
index 6326aa6d78c8..7a4bcd7d0e5b 100644
--- a/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrextrudeprimitive3d.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sdrextrudeprimitive3d.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: aw $ $Date: 2008-03-19 04:35:22 $
+ * last change: $Author: aw $ $Date: 2008-05-14 09:21:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -225,7 +225,7 @@ namespace drawinglayer
}
}
- return aRetval;
+ return EventuallyAddTestRange(aRetval);
}
void SdrExtrudePrimitive3D::impCreateSlices()
@@ -242,7 +242,9 @@ namespace drawinglayer
const Slice3DVector& SdrExtrudePrimitive3D::getSlices() const
{
- if(getPolyPolygon().count() && !maSlices.size() && (getSdrLFSAttribute().getFill() || getSdrLFSAttribute().getLine()))
+ // This can be made dependent of getSdrLFSAttribute().getFill() and getSdrLFSAttribute().getLine()
+ // again when no longer geometry is needed for non-visible 3D objects as it is now for chart
+ if(getPolyPolygon().count() && !maSlices.size())
{
::osl::Mutex m_mutex;
const_cast< SdrExtrudePrimitive3D& >(*this).impCreateSlices();