[Libreoffice-commits] .: sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Nov 10 08:04:39 PST 2010


 sw/source/filter/ww8/ww8par2.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 9c2b85ef9b9a45526f5e4be2573a704364162cb8
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 10 16:03:44 2010 +0000

    #i115495# fix type promotion problem

diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index f52a173..95fe188 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -2573,7 +2573,10 @@ void WW8TabDesc::CreateSwTable()
             else
             {
                 if (nPreferredWidth)                   
-                    nLeft = pIo->maSectionManager.GetTextAreaWidth() - nPreferredWidth  - nOrgDxaLeft;
+                {
+                    nLeft = pIo->maSectionManager.GetTextAreaWidth();
+                    nLeft = nLeft - nPreferredWidth  - nOrgDxaLeft;
+                }
                 else
                     nLeft = -GetMinLeft();
             }


More information about the Libreoffice-commits mailing list