summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewtab.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-16 12:48:45 +0200
committerNoel Grandin <noel@peralex.com>2016-08-17 08:45:15 +0200
commit49561be0fd2041fc9d32c4ac1ab1063f620a4e08 (patch)
tree4345072ee14a3451e1b9b1bd0e646c146844665e /sw/source/uibase/uiview/viewtab.cxx
parent42ab2cfbd92bc30a62a2c126d4ad6d5726846d8b (diff)
convert SvxTabAdjust to scoped enum
Change-Id: I29a33b8ea5daaa4b9059d024ffa4a99ca924f7ef
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 9eafba95cd2b..a030f90b496e 100644
--- a/sw/source/uibase/uiview/viewtab.cxx
+++ b/sw/source/uibase/uiview/viewtab.cxx
@@ -152,7 +152,7 @@ static void lcl_EraseDefTabs(SvxTabStopItem& rTabStops)
for ( sal_uInt16 i = 0; i < rTabStops.Count(); )
{
// Here also throw out the DefTab to zero
- if ( SVX_TAB_ADJUST_DEFAULT == rTabStops[i].GetAdjustment() ||
+ if ( SvxTabAdjust::Default == rTabStops[i].GetAdjustment() ||
rTabStops[i].GetTabPos() == 0 )
{
rTabStops.Remove(i);
@@ -635,7 +635,7 @@ void SwView::ExecTabWin( SfxRequest& rReq )
if ( rLR.GetTextFirstLineOfst() < 0 )
{
- SvxTabStop aSwTabStop( 0, SVX_TAB_ADJUST_DEFAULT );
+ SvxTabStop aSwTabStop( 0, SvxTabAdjust::Default );
aTabStops.Insert( aSwTabStop );
}
@@ -714,7 +714,7 @@ void SwView::ExecTabWin( SfxRequest& rReq )
::lcl_EraseDefTabs(aTabStops);
- SvxTabStop aSwTabStop( 0, SVX_TAB_ADJUST_DEFAULT );
+ SvxTabStop aSwTabStop( 0, SvxTabAdjust::Default );
aTabStops.Insert(aSwTabStop);
const SvxTabStopItem& rDefTabs =