summaryrefslogtreecommitdiff
path: root/sw/source/uibase/ribbar/conrect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/ribbar/conrect.cxx')
-rw-r--r--sw/source/uibase/ribbar/conrect.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/uibase/ribbar/conrect.cxx b/sw/source/uibase/ribbar/conrect.cxx
index cc12af761798..2e0542f45c15 100644
--- a/sw/source/uibase/ribbar/conrect.cxx
+++ b/sw/source/uibase/ribbar/conrect.cxx
@@ -170,6 +170,10 @@ void ConstRectangle::Activate(const sal_uInt16 nSlotId)
m_pWin->SetSdrDrawMode(OBJ_LINE);
break;
+ case SID_DRAW_MEASURELINE:
+ m_pWin->SetSdrDrawMode(OBJ_MEASURE);
+ break;
+
case SID_DRAW_RECT:
m_pWin->SetSdrDrawMode(OBJ_RECT);
break;