summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/DocumentRenderer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/DocumentRenderer.cxx')
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx
index 09f8d390368d..eee1a759e845 100644
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -1546,7 +1546,7 @@ private:
SdrPathObj* pPathObj = new SdrPathObj(
rModel,
- OBJ_PATHLINE,
+ SdrObjKind::PathLine,
aPathPoly);
pPathObj->SetMergedItem(XLineStyleItem(drawing::LineStyle_SOLID));
pPathObj->SetMergedItem(XLineColorItem(OUString(), COL_BLACK));
@@ -1643,7 +1643,7 @@ private:
{
SdrObject* pObj = pPage->GetObj(nObj++);
if (pObj->GetObjInventor() == SdrInventor::Default
- && pObj->GetObjIdentifier() == OBJ_TITLETEXT)
+ && pObj->GetObjIdentifier() == SdrObjKind::TitleText)
{
pTextObj = dynamic_cast<SdrTextObj*>(pObj);
}
@@ -1667,7 +1667,7 @@ private:
{
SdrObject* pObj = pPage->GetObj(nObj++);
if (pObj->GetObjInventor() == SdrInventor::Default
- && pObj->GetObjIdentifier() == OBJ_OUTLINETEXT)
+ && pObj->GetObjIdentifier() == SdrObjKind::OutlineText)
{
pTextObj = dynamic_cast<SdrTextObj*>(pObj);
}