summaryrefslogtreecommitdiff
path: root/sw/source/core/frmedt/feshview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/frmedt/feshview.cxx')
-rw-r--r--sw/source/core/frmedt/feshview.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx
index 8cf74ca1e8f7..ee81434e9b59 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -1676,7 +1676,7 @@ bool SwFEShell::GotoObj( bool bNext, GotoObjFlags eType )
return true;
}
-bool SwFEShell::BeginCreate( sal_uInt16 /*SdrObjKind ?*/ eSdrObjectKind, const Point &rPos )
+bool SwFEShell::BeginCreate( SdrObjKind eSdrObjectKind, const Point &rPos )
{
bool bRet = false;
@@ -1700,7 +1700,7 @@ bool SwFEShell::BeginCreate( sal_uInt16 /*SdrObjKind ?*/ eSdrObjectKind, const
return bRet;
}
-bool SwFEShell::BeginCreate( sal_uInt16 /*SdrObjKind ?*/ eSdrObjectKind, SdrInventor eObjInventor,
+bool SwFEShell::BeginCreate( SdrObjKind eSdrObjectKind, SdrInventor eObjInventor,
const Point &rPos )
{
bool bRet = false;
@@ -2938,7 +2938,7 @@ tools::Long SwFEShell::GetSectionWidth( SwFormat const & rFormat ) const
return 0;
}
- void SwFEShell::CreateDefaultShape( sal_uInt16 /*SdrObjKind ?*/ eSdrObjectKind, const tools::Rectangle& rRect,
+void SwFEShell::CreateDefaultShape( SdrObjKind eSdrObjectKind, const tools::Rectangle& rRect,
sal_uInt16 nSlotId)
{
SdrView* pDrawView = GetDrawView();
@@ -3071,6 +3071,8 @@ tools::Long SwFEShell::GetSectionWidth( SwFormat const & rFormat ) const
pObj->SetMergedItemSet(aAttr);
}
break;
+ default:
+ break;
}
static_cast<SdrPathObj*>(pObj)->SetPathPoly(aPoly);