summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-09 12:40:57 +0200
committerNoel Grandin <noel@peralex.com>2015-04-10 09:48:06 +0200
commit84482f5193ff0738563b6e91f66fc95fbc145de3 (patch)
treefb760bc19693a05d3e1cabf32800c83096149cb0 /sw
parent33d390640185e33ea432a4979efa6214c7dafd85 (diff)
convert SfxSlotFilterState to scoped enum
Change-Id: I424a1c71429078f8f83f8f0138c6e12567628ef8
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/uiview/view.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx
index 8c16a79f3f5e..2f83e176ca96 100644
--- a/sw/source/uibase/uiview/view.cxx
+++ b/sw/source/uibase/uiview/view.cxx
@@ -602,7 +602,7 @@ void SwView::_CheckReadonlyState()
}
if ( SfxItemState::DISABLED == eStateRO )
{
- rDis.SetSlotFilter( SFX_SLOT_FILTER_ENABLED_READONLY, sizeof(aROIds)/sizeof(sal_uInt16), aROIds );
+ rDis.SetSlotFilter( SfxSlotFilterState::ENABLED_READONLY, sizeof(aROIds)/sizeof(sal_uInt16), aROIds );
bChgd = true;
}
}
@@ -617,7 +617,7 @@ void SwView::_CheckReadonlyState()
qsort( (void*)aAllProtIds, sizeof(aAllProtIds)/sizeof(sal_uInt16), sizeof(sal_uInt16), lcl_CmpIds );
bAllProtFirst = false;
}
- rDis.SetSlotFilter( SFX_SLOT_FILTER_ENABLED_READONLY,
+ rDis.SetSlotFilter( SfxSlotFilterState::ENABLED_READONLY,
sizeof(aAllProtIds)/sizeof(sal_uInt16),
aAllProtIds );
bChgd = true;