summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview/viewtab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/uiview/viewtab.cxx')
-rw-r--r--sw/source/ui/uiview/viewtab.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/uiview/viewtab.cxx b/sw/source/ui/uiview/viewtab.cxx
index 513cc515ea63..5572cfacafe9 100644
--- a/sw/source/ui/uiview/viewtab.cxx
+++ b/sw/source/ui/uiview/viewtab.cxx
@@ -651,7 +651,7 @@ void SwView::ExecTabWin( SfxRequest& rReq )
rSh.AutoUpdatePara( pColl, aTmp );
}
else
- rSh.SetAttr( aTabStops );
+ rSh.SetAttrItem( aTabStops );
}
break;
@@ -691,7 +691,7 @@ void SwView::ExecTabWin( SfxRequest& rReq )
rSh.AutoUpdatePara( pColl, aSet);
}
else
- rSh.SetAttr( aParaMargin );
+ rSh.SetAttrItem( aParaMargin );
if ( aParaMargin.GetTxtFirstLineOfst() < 0 )
{
@@ -730,7 +730,7 @@ void SwView::ExecTabWin( SfxRequest& rReq )
rSh.AutoUpdatePara( pColl, aSetTmp );
}
else
- rSh.SetAttr( aTabStops );
+ rSh.SetAttrItem( aTabStops );
}
}
}
@@ -755,7 +755,7 @@ void SwView::ExecTabWin( SfxRequest& rReq )
rSh.AutoUpdatePara( pColl, aSet);
}
else
- rSh.SetAttr( aParaMargin );
+ rSh.SetAttrItem( aParaMargin );
}
break;
@@ -1006,7 +1006,7 @@ void SwView::StateTabWin(SfxItemSet& rSet)
RES_LR_SPACE, RES_UL_SPACE, 0 );
// get also the list level indent values merged as LR-SPACE item, if needed.
rSh.GetCurAttr( aCoreSet, true );
- SelectionType nSelType = rSh.GetSelectionType();
+ const SelectionType nSelType = rSh.GetSelectionType();
SfxWhichIter aIter( rSet );
sal_uInt16 nWhich = aIter.FirstWhich();