summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewtab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewtab.cxx')
-rw-r--r--sw/source/uibase/uiview/viewtab.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/uiview/viewtab.cxx b/sw/source/uibase/uiview/viewtab.cxx
index 88b7238c2a32..452e720a79ea 100644
--- a/sw/source/uibase/uiview/viewtab.cxx
+++ b/sw/source/uibase/uiview/viewtab.cxx
@@ -926,7 +926,7 @@ void SwView::ExecTabWin( SfxRequest& rReq )
}
bool bSingleLine = false;
const SfxPoolItem* pSingleLine;
- if( SFX_ITEM_SET == rReq.GetArgs()->GetItemState(SID_RULER_ACT_LINE_ONLY, false, &pSingleLine))
+ if( SfxItemState::SET == rReq.GetArgs()->GetItemState(SID_RULER_ACT_LINE_ONLY, false, &pSingleLine))
bSingleLine = ((const SfxBoolItem*)pSingleLine)->GetValue();
if ( m_bSetTabRowFromDoc )
{
@@ -1189,7 +1189,7 @@ void SwView::StateTabWin(SfxItemSet& rSet)
( nSelType & nsSelectionType::SEL_GRF ) ||
( nSelType & nsSelectionType::SEL_FRM ) ||
( nSelType & nsSelectionType::SEL_OLE ) ||
- ( SFX_ITEM_DEFAULT > aCoreSet.GetItemState(RES_LR_SPACE) ) ||
+ ( SfxItemState::DEFAULT > aCoreSet.GetItemState(RES_LR_SPACE) ) ||
(!bVerticalWriting && (SID_ATTR_TABSTOP_VERTICAL == nWhich) ) ||
( bVerticalWriting && (RES_PARATR_TABSTOP == nWhich))
)
@@ -1258,7 +1258,7 @@ void SwView::StateTabWin(SfxItemSet& rSet)
aUL.SetWhich(nWhich);
SfxItemState e = aCoreSet.GetItemState(RES_UL_SPACE);
- if( e >= SFX_ITEM_DEFAULT )
+ if( e >= SfxItemState::DEFAULT )
rSet.Put( aUL );
else
rSet.InvalidateItem(nWhich);