summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svddrgmt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svddrgmt.cxx')
-rw-r--r--svx/source/svdraw/svddrgmt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx
index a1ae7ca6f7b1..0d0c1a518349 100644
--- a/svx/source/svdraw/svddrgmt.cxx
+++ b/svx/source/svdraw/svddrgmt.cxx
@@ -563,11 +563,11 @@ void SdrDragMethod::createSdrDragEntries_GlueDrag()
void SdrDragMethod::ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, OUString& rStr, sal_uInt16 nVal) const
{
- sal_uInt16 nOpt=0;
+ ImpTakeDescriptionOptions nOpt=ImpTakeDescriptionOptions::NONE;
if (IsDraggingPoints()) {
- nOpt=IMPSDR_POINTSDESCRIPTION;
+ nOpt=ImpTakeDescriptionOptions::POINTS;
} else if (IsDraggingGluePoints()) {
- nOpt=IMPSDR_GLUEPOINTSDESCRIPTION;
+ nOpt=ImpTakeDescriptionOptions::GLUEPOINTS;
}
getSdrDragView().ImpTakeDescriptionStr(nStrCacheID,rStr,nVal,nOpt);
}