summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-07-15 16:11:37 +0100
committerNoel Power <noel.power@novell.com>2011-07-15 16:13:35 +0100
commit95351a519bec2833f5d936c20e3916a4e283b0f6 (patch)
tree72f4503882ba5a4f82ff49948c6639bab2d0afd6
parent433833e8a77dad2dcc272c867c858beacea2ebc6 (diff)
fix for bnc#693477 ensure table alignment is preserved
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 131d49f1f0..ed433045eb 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();
}
}