summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Janík <paveljanik@apache.org>2012-09-14 11:40:24 +0000
committerPavel Janík <paveljanik@apache.org>2012-09-14 11:40:24 +0000
commit65409fefdc76adab22868c276d345c599432beaa (patch)
tree3175967cb6ed8ce3a51f0f5ead12c6f3b633171f
parent86918fa571a9d40911a6ce500376466bd56c8a93 (diff)
Add parens around assignment used as boolean value to prevent WaE
issue (compiler warning).
Notes
ignore: fixed
-rw-r--r--sw/source/core/layout/fly.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index 994adb83356d..feb36e123ca5 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -2991,7 +2991,7 @@ sal_Bool SwFlyFrm::IsPageNumberingFrm()
return false;
SwFrmFmt* pFmt = NULL;
- if (pFmt = GetFmt())
+ if ((pFmt = GetFmt()))
{
if (pLower && pLower->GetNext() && pFmt->GetCol().GetNumCols()>1)//Has more than 1 column...
return false;