[Libreoffice-commits] core.git: sw/source
Michael Stahl
mstahl at redhat.com
Sun Mar 30 15:58:41 PDT 2014
sw/source/ui/frmdlg/column.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2996f24c6999833c57a041c362ce4abc82e9279d
Author: Michael Stahl <mstahl at 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)
{
More information about the Libreoffice-commits
mailing list