[Libreoffice-commits] .: sw/source

Noel Power noelp at kemper.freedesktop.org
Tue Jul 26 10:49:12 PDT 2011


 sw/source/filter/ww8/ww8par6.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 797ff3c3e4d1c5a8f604619625d782583d9477de
Author: Noel Power <noel.power at novell.com>
Date:   Tue Jul 26 18:47:19 2011 +0100

    Revert "fix for bnc#693477 ensure table alignment is preserved"
    
    This reverts commit 95351a519bec2833f5d936c20e3916a4e283b0f6.
    <sigh> after testing on another machine I think this is indeed font related, there is I think a genuine issue with the tablewidth and column width getting truncated with the 'FULL' setting but... it appears this isn't the fix for this bug.

diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 578a3a6..357711a 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -2290,8 +2290,7 @@ SwTwips SwWW8ImplReader::MoveOutsideFly(SwFrmFmt *pFlyFmt,
                                 aSize.SetHeightSizeType(ATT_MIN_SIZE);
                                 aSize.SetHeight(MINLAY);
                                 pFlyFmt->SetFmtAttr(aSize);
-                                SwFmtHoriOrient aHori = pTblFmt->GetHoriOrient();
-                                pTblFmt->SetFmtAttr(SwFmtHoriOrient(0, aHori.GetHoriOrient() ) );
+                                pTblFmt->SetFmtAttr(SwFmtHoriOrient(0,text::HoriOrientation::FULL));
                                 nRetWidth = aSize.GetWidth();
                             }
                         }


More information about the Libreoffice-commits mailing list