[Libreoffice-commits] .: sw/source
Noel Power
noelp at kemper.freedesktop.org
Fri Jul 15 08:12:59 PDT 2011
sw/source/filter/ww8/ww8par6.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 95351a519bec2833f5d936c20e3916a4e283b0f6
Author: Noel Power <noel.power at novell.com>
Date: Fri Jul 15 16:11:37 2011 +0100
fix for bnc#693477 ensure table alignment is preserved
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 131d49f..ed43304 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();
}
}
More information about the Libreoffice-commits
mailing list