summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drawview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drawview.cxx')
-rw-r--r--sd/source/ui/view/drawview.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/drawview.cxx b/sd/source/ui/view/drawview.cxx
index a05aa94b1956..f2f0bcf4f8be 100644
--- a/sd/source/ui/view/drawview.cxx
+++ b/sd/source/ui/view/drawview.cxx
@@ -377,17 +377,17 @@ void DrawView::Notify(SfxBroadcaster& rBC, const SfxHint& rHint)
{
SdrHintKind eHintKind = static_cast<const SdrHint&>(rHint).GetKind();
- if ( mnPOCHSmph == 0 && eHintKind == HINT_PAGEORDERCHG )
+ if ( mnPOCHSmph == 0 && eHintKind == SdrHintKind::PageOrderChange )
{
mpDrawViewShell->ResetActualPage();
}
- else if ( eHintKind == HINT_LAYERCHG || eHintKind == HINT_LAYERORDERCHG )
+ else if ( eHintKind == SdrHintKind::LayerChange || eHintKind == SdrHintKind::LayerOrderChange )
{
mpDrawViewShell->ResetActualLayer();
}
// switch to that page when it's not a master page
- if(HINT_SWITCHTOPAGE == eHintKind)
+ if(SdrHintKind::SwitchToPage == eHintKind)
{
const SdrPage* pPage = static_cast<const SdrHint&>(rHint).GetPage();