[Libreoffice-commits] .: sw/source

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Wed Nov 2 08:23:22 PDT 2011


 sw/source/core/text/txttab.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 208c9648ec31ccf27edddc2f5dbfd1387a445fdb
Author: Cédric Bosdonnat <cedric.bosdonnat at free.fr>
Date:   Wed Nov 2 16:20:46 2011 +0100

    n#693238: fixed parentheses warning

diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx
index d237873..341bde2 100644
--- a/sw/source/core/text/txttab.cxx
+++ b/sw/source/core/text/txttab.cxx
@@ -452,7 +452,7 @@ sal_Bool SwTabPortion::PreFormat( SwTxtFormatInfo &rInf )
                 // tab stop position is outside the frame:
                 bool bAtParaEnd = rInf.GetIdx() + GetLen() == rInf.GetTxt().Len();
                 if ( bFull && bTabCompat &&
-                     ( bTabOverflow && ( rInf.IsTabOverflow() || !IsAutoTabStop() ) || bAtParaEnd ) &&
+                     ( ( bTabOverflow && ( rInf.IsTabOverflow() || !IsAutoTabStop() ) ) || bAtParaEnd ) &&
                      GetTabPos() >= rInf.GetTxtFrm()->Frm().Width() )
                 {
                     bFull = sal_False;


More information about the Libreoffice-commits mailing list