summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdobj.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-18 10:52:49 +0200
committerNoel Grandin <noel@peralex.com>2016-08-19 08:18:37 +0200
commit4625dcc13cbe6d5277e7c8bc99879b1c060796c0 (patch)
treecf879bb4d188189b2ea0579da186dfa28a10023c /svx/source/svdraw/svdobj.cxx
parente5301736046340812162a75ac88ca735f176c93a (diff)
convert ObjStrAttrType to scoped enum
Change-Id: Ief45dea1a9a687777fe6e9b1c0efede90f1e71ee
Diffstat (limited to 'svx/source/svdraw/svdobj.cxx')
-rw-r--r--svx/source/svdraw/svdobj.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index defafc5ab92b..6379c4f02793 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -657,7 +657,7 @@ void SdrObject::SetName(const OUString& rStr)
SdrUndoAction* pUndoAction =
SdrUndoFactory::CreateUndoObjectStrAttr(
*this,
- SdrUndoObjStrAttr::OBJ_NAME,
+ SdrUndoObjStrAttr::ObjStrAttrType::Name,
GetName(),
rStr );
GetModel()->BegUndo( pUndoAction->GetComment() );
@@ -701,7 +701,7 @@ void SdrObject::SetTitle(const OUString& rStr)
SdrUndoAction* pUndoAction =
SdrUndoFactory::CreateUndoObjectStrAttr(
*this,
- SdrUndoObjStrAttr::OBJ_TITLE,
+ SdrUndoObjStrAttr::ObjStrAttrType::Title,
GetTitle(),
rStr );
GetModel()->BegUndo( pUndoAction->GetComment() );
@@ -745,7 +745,7 @@ void SdrObject::SetDescription(const OUString& rStr)
SdrUndoAction* pUndoAction =
SdrUndoFactory::CreateUndoObjectStrAttr(
*this,
- SdrUndoObjStrAttr::OBJ_DESCRIPTION,
+ SdrUndoObjStrAttr::ObjStrAttrType::Description,
GetDescription(),
rStr );
GetModel()->BegUndo( pUndoAction->GetComment() );