summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-24 13:21:11 +0200
committerNoel Grandin <noel@peralex.com>2015-02-25 10:34:26 +0200
commitfcf339ca5f198529a1eaf70e2ec893f75a843558 (patch)
tree97dd80e34cf4b7371b5ad210181fc5e1b5bce82f /sw
parent1c4e95db104cd5f732bc41a539a7dc5fd9269ef6 (diff)
convert SFX_SLOT_ constants to enum class
Change-Id: Icc3aad14d9d0c59c1c1c8f124f0626a9f947b93f
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/uiview/viewstat.cxx4
1 files changed, 2 insertions, 2 deletions
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);