diff options
author | Noel Power <noel.power@novell.com> | 2011-07-15 16:11:37 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-07-15 16:13:35 +0100 |
commit | 28b982d3a3effd10db4c35cf6f21a0f36e14064e (patch) | |
tree | acb36b2580e007b35f67cf1348cccce3d1a60c63 /sw | |
parent | be39d17a2ba8e0eb9e67f4e1e31afab623bb5c55 (diff) |
fix for bnc#693477 ensure table alignment is preserved
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par6.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx index 9fd4cd568fc6..124f526aa9bd 100644 --- a/sw/source/filter/ww8/ww8par6.cxx +++ b/sw/source/filter/ww8/ww8par6.cxx @@ -2283,7 +2283,8 @@ SwTwips SwWW8ImplReader::MoveOutsideFly(SwFrmFmt *pFlyFmt, aSize.SetHeightSizeType(ATT_MIN_SIZE); aSize.SetHeight(MINLAY); pFlyFmt->SetFmtAttr(aSize); - pTblFmt->SetFmtAttr(SwFmtHoriOrient(0,text::HoriOrientation::FULL)); + SwFmtHoriOrient aHori = pTblFmt->GetHoriOrient(); + pTblFmt->SetFmtAttr(SwFmtHoriOrient(0, aHori.GetHoriOrient() ) ); nRetWidth = aSize.GetWidth(); } } |