diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uiview/viewtab.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sw/source/uibase/uiview/viewtab.cxx b/sw/source/uibase/uiview/viewtab.cxx index a030f90b496e..799a6d8ce1a8 100644 --- a/sw/source/uibase/uiview/viewtab.cxx +++ b/sw/source/uibase/uiview/viewtab.cxx @@ -1211,7 +1211,6 @@ void SwView::StateTabWin(SfxItemSet& rSet) SfxWhichIter aIter( rSet ); sal_uInt16 nWhich = aIter.FirstWhich(); - bool bPutContentProtection = false; while ( nWhich ) { @@ -1941,10 +1940,6 @@ void SwView::StateTabWin(SfxItemSet& rSet) nEnd = aTabCols.GetRight(); else nEnd = aTabCols.GetLeft(); - // put a position protection when the last row cannot be moved - // due to a page break inside of a row - if(!aTabCols.IsLastRowAllowedToChange()) - bPutContentProtection = true; SvxColumnDescription aColDesc( nStart, nEnd, aTabCols.GetRight(), @@ -2329,12 +2324,6 @@ void SwView::StateTabWin(SfxItemSet& rSet) } nWhich = aIter.NextWhich(); } - if(bPutContentProtection) - { - SvxProtectItem aProtect(SID_RULER_PROTECT); - aProtect.SetContentProtect(true); - rSet.Put(aProtect); - } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |