summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewcoll.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewcoll.cxx')
-rw-r--r--sw/source/uibase/uiview/viewcoll.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewcoll.cxx b/sw/source/uibase/uiview/viewcoll.cxx
index 0f155a47d89e..15cc3e47b47c 100644
--- a/sw/source/uibase/uiview/viewcoll.cxx
+++ b/sw/source/uibase/uiview/viewcoll.cxx
@@ -46,7 +46,7 @@ void SwView::ExecColl(SfxRequest &rReq)
if( pArgs )
{
if (pArgs &&
- SFX_ITEM_SET == pArgs->GetItemState( nWhich , true, &pItem ))
+ SfxItemState::SET == pArgs->GetItemState( nWhich , true, &pItem ))
{
if( ((SfxStringItem*)pItem)->GetValue() !=
GetWrtShell().GetCurPageStyle(false) )