From fcf339ca5f198529a1eaf70e2ec893f75a843558 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 24 Feb 2015 13:21:11 +0200 Subject: convert SFX_SLOT_ constants to enum class Change-Id: Icc3aad14d9d0c59c1c1c8f124f0626a9f947b93f --- sw/source/uibase/uiview/viewstat.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source') diff --git a/sw/source/uibase/uiview/viewstat.cxx b/sw/source/uibase/uiview/viewstat.cxx index 875b7b473858..d55975b86d9c 100644 --- a/sw/source/uibase/uiview/viewstat.cxx +++ b/sw/source/uibase/uiview/viewstat.cxx @@ -196,7 +196,7 @@ void SwView::GetState(SfxItemSet &rSet) SfxImageItem aImgItem(nWhich, bWeb ? SwView::m_nWebInsertCtrlState : SwView::m_nInsertCtrlState); SfxSlotPool& rPool = SfxSlotPool::GetSlotPool( GetViewFrame() ); const SfxSlot* pSlot = rPool.GetSlot( aImgItem.GetValue() ); - if(pSlot && pSlot->IsMode( SFX_SLOT_IMAGEROTATION )) + if(pSlot && pSlot->IsMode( SfxSlotMode::IMAGEROTATION )) { if(m_pWrtShell->IsInVerticalText()) aImgItem.SetRotation(2700); @@ -218,7 +218,7 @@ void SwView::GetState(SfxItemSet &rSet) SfxImageItem aImgItem(nWhich, SwView::m_nInsertObjectCtrlState); SfxSlotPool& rPool = SfxSlotPool::GetSlotPool( GetViewFrame() ); const SfxSlot* pSlot = rPool.GetSlot( aImgItem.GetValue() ); - if(pSlot && pSlot->IsMode( SFX_SLOT_IMAGEROTATION )) + if(pSlot && pSlot->IsMode( SfxSlotMode::IMAGEROTATION )) { if (m_pWrtShell->IsInVerticalText()) aImgItem.SetRotation(2700); -- cgit