From 0552ec9828ad65b1cf90f4e5253f0108facd5bf3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 22 Aug 2016 08:24:14 +0200 Subject: convert SdrHintKind to scoped enum Change-Id: I77ad33425d440263a71bc94f41d8e141f16dfb78 --- svx/source/svdraw/svdundo.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'svx/source/svdraw/svdundo.cxx') 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); } } -- cgit