sw/source/ui/frmdlg/column.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2996f24c6999833c57a041c362ce4abc82e9279d
Author: Michael Stahl <mst...@redhat.com>
Date:   Mon Mar 31 00:35:38 2014 +0200

    sw: '+' will be evaluated first [-Werror,-Wparentheses]
    
    Change-Id: Ie87d242844638972120c967f167d96efc45c59bc

diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx
index dcefde3..9d2b241 100644
--- a/sw/source/ui/frmdlg/column.cxx
+++ b/sw/source/ui/frmdlg/column.cxx
@@ -1002,7 +1002,7 @@ IMPL_LINK( SwColumnPage, GapModify, MetricField*, 
pMetricFld )
     }
     else
     {
-        const sal_uInt16 nVis = nFirstVis + (pFld == &aDistEd2) ? 1 : 0;
+        const sal_uInt16 nVis = nFirstVis + ((pFld == &aDistEd2) ? 1 : 0);
         long nDiff = nActValue - nColDist[nVis];
         if(nDiff)
         {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to