summaryrefslogtreecommitdiff
path: root/svx/source/engine3d/helperminimaldepth3d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/engine3d/helperminimaldepth3d.cxx')
-rw-r--r--svx/source/engine3d/helperminimaldepth3d.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/engine3d/helperminimaldepth3d.cxx b/svx/source/engine3d/helperminimaldepth3d.cxx
index 85ba97f1a826..965343009b21 100644
--- a/svx/source/engine3d/helperminimaldepth3d.cxx
+++ b/svx/source/engine3d/helperminimaldepth3d.cxx
@@ -55,7 +55,7 @@ namespace drawinglayer
double mfMinimalDepth;
// as tooling, the process() implementation takes over API handling and calls this
- // virtual render method when the primitive implementation is BasePrimitive3D-based.
+ // virtual render method when the primitive implementation is BufDecPrimitive3D-based.
virtual void processBasePrimitive3D(const primitive3d::BasePrimitive3D& rCandidate);
public:
@@ -70,8 +70,8 @@ namespace drawinglayer
void MinimalDephInViewExtractor::processBasePrimitive3D(const primitive3d::BasePrimitive3D& rCandidate)
{
- // it is a BasePrimitive3D implementation, use getPrimitiveID() call for switch
- switch(rCandidate.getPrimitiveID())
+ // it is a BufDecPrimitive3D implementation, use getPrimitive3DID() call for switch
+ switch(rCandidate.getPrimitive3DID())
{
case PRIMITIVE3D_ID_TRANSFORMPRIMITIVE3D :
{