[Libreoffice-commits] .: Branch 'libreoffice-3-3' - sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Nov 10 08:06:24 PST 2010
sw/source/filter/ww8/ww8par2.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit f7516fcc66864146f3b365a237728a9821d2a827
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Nov 10 16:03:44 2010 +0000
#i115495# fix type promotion problem
(cherry picked from commit 9c2b85ef9b9a45526f5e4be2573a704364162cb8)
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