summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdundo.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-22 08:24:14 +0200
committerNoel Grandin <noel@peralex.com>2016-08-22 08:24:48 +0200
commit0552ec9828ad65b1cf90f4e5253f0108facd5bf3 (patch)
treeb7b889ef11c53126304f77dd31d509fb633859ef /svx/source/svdraw/svdundo.cxx
parent2309217a55c8d5e6bdde2a6d4775f10415505fcd (diff)
convert SdrHintKind to scoped enum
Change-Id: I77ad33425d440263a71bc94f41d8e141f16dfb78
Diffstat (limited to 'svx/source/svdraw/svdundo.cxx')
-rw-r--r--svx/source/svdraw/svdundo.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index 1362de30b4d7..0f5c6ab352a1 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -247,11 +247,7 @@ void SdrUndoObj::ImpShowPageOfThisObject()
{
if(pObj && pObj->IsInserted() && pObj->GetPage() && pObj->GetModel())
{
- SdrHint aHint(HINT_SWITCHTOPAGE);
-
- aHint.SetObject(pObj);
- aHint.SetPage(pObj->GetPage());
-
+ SdrHint aHint(SdrHintKind::SwitchToPage, *pObj, pObj->GetPage());
pObj->GetModel()->Broadcast(aHint);
}
}