summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdocapt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdocapt.cxx')
-rw-r--r--svx/source/svdraw/svdocapt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdocapt.cxx b/svx/source/svdraw/svdocapt.cxx
index fc3b0f03ebd1..b23d0e9159b9 100644
--- a/svx/source/svdraw/svdocapt.cxx
+++ b/svx/source/svdraw/svdocapt.cxx
@@ -577,7 +577,7 @@ bool SdrCaptionObj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
maRect.SetPos(rStat.GetNow());
ImpCalcTail(aPara,aTailPoly,maRect);
SetRectsDirty();
- return (eCmd==SDRCREATE_FORCEEND || rStat.GetPointAnz()>=2);
+ return (eCmd==SDRCREATE_FORCEEND || rStat.GetPointCount()>=2);
}
bool SdrCaptionObj::BckCreate(SdrDragStat& /*rStat*/)