summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-31 00:35:38 +0200
committerMichael Stahl <mstahl@redhat.com>2014-03-31 00:54:44 +0200
commit2996f24c6999833c57a041c362ce4abc82e9279d (patch)
tree9d46f5985617fc8dfae612c5ec5e8c727246ff78 /sw/source/ui
parent4e9565b24b3a1d393cc7093b363709c233de9d43 (diff)
sw: '+' will be evaluated first [-Werror,-Wparentheses]
Change-Id: Ie87d242844638972120c967f167d96efc45c59bc
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/frmdlg/column.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx
index dcefde3c2c49..9d2b2413902a 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)
{