summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewdraw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewdraw.cxx')
-rw-r--r--sw/source/uibase/uiview/viewdraw.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx
index d3e3705206a4..43037c9c6ea6 100644
--- a/sw/source/uibase/uiview/viewdraw.cxx
+++ b/sw/source/uibase/uiview/viewdraw.cxx
@@ -263,7 +263,7 @@ void SwView::ExecDraw(SfxRequest& rReq)
case SID_DRAW_SELECT:
pFuncPtr = new DrawSelection(m_pWrtShell, m_pEditWin, this);
m_nDrawSfxId = m_nFormSfxId = SID_OBJECT_SELECT;
- m_sDrawCustom = "";
+ m_sDrawCustom.clear();
break;
case SID_DRAW_LINE:
@@ -276,7 +276,7 @@ void SwView::ExecDraw(SfxRequest& rReq)
case SID_DRAW_CAPTION_VERTICAL:
pFuncPtr = new ConstRectangle(m_pWrtShell, m_pEditWin, this);
m_nDrawSfxId = nSlotId;
- m_sDrawCustom = "";
+ m_sDrawCustom.clear();
break;
case SID_DRAW_POLYGON_NOFILL:
@@ -284,7 +284,7 @@ void SwView::ExecDraw(SfxRequest& rReq)
case SID_DRAW_FREELINE_NOFILL:
pFuncPtr = new ConstPolygon(m_pWrtShell, m_pEditWin, this);
m_nDrawSfxId = nSlotId;
- m_sDrawCustom = "";
+ m_sDrawCustom.clear();
break;
case SID_DRAW_ARC:
@@ -292,7 +292,7 @@ void SwView::ExecDraw(SfxRequest& rReq)
case SID_DRAW_CIRCLECUT:
pFuncPtr = new ConstArc(m_pWrtShell, m_pEditWin, this);
m_nDrawSfxId = nSlotId;
- m_sDrawCustom = "";
+ m_sDrawCustom.clear();
break;
case SID_FM_CREATE_CONTROL:
@@ -645,7 +645,7 @@ void SwView::SetDrawFuncPtr(SwDrawBase* pFuncPtr)
void SwView::SetSelDrawSlot()
{
m_nDrawSfxId = SID_OBJECT_SELECT;
- m_sDrawCustom = "";
+ m_sDrawCustom.clear();
}
bool SwView::AreOnlyFormsSelected() const