diff options
-rw-r--r-- | sw/source/core/table/swtable.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx index d995524615c6..69dbe1f9bfe1 100644 --- a/sw/source/core/table/swtable.cxx +++ b/sw/source/core/table/swtable.cxx @@ -868,7 +868,8 @@ void SwTable::SetTabCols( const SwTabCols &rNew, const SwTabCols &rOld, // This is done by preserving the exact positions that have been // set by the user. SwFormatHoriOrient aOri( pFormat->GetHoriOrient() ); - if(text::HoriOrientation::NONE != aOri.GetHoriOrient()) + if( text::HoriOrientation::NONE != aOri.GetHoriOrient() && + text::HoriOrientation::CENTER != aOri.GetHoriOrient() ) { const bool bLeftDist = rNew.GetLeft() != nShLeft; const bool bRightDist = rNew.GetRight() + nShRight != rNew.GetRightMax(); |