incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavelja...@apache.org
Subject svn commit: r1384746 - /incubator/ooo/trunk/main/sw/source/core/layout/fly.cxx
Date Fri, 14 Sep 2012 12:40:24 GMT
Author: paveljanik
Date: Fri Sep 14 12:40:24 2012
New Revision: 1384746

URL: http://svn.apache.org/viewvc?rev=1384746&view=rev
Log:
Add parens around assignment used as boolean value to prevent WaE
issue (compiler warning).

Modified:
    incubator/ooo/trunk/main/sw/source/core/layout/fly.cxx

Modified: incubator/ooo/trunk/main/sw/source/core/layout/fly.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/core/layout/fly.cxx?rev=1384746&r1=1384745&r2=1384746&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/core/layout/fly.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/core/layout/fly.cxx Fri Sep 14 12:40:24 2012
@@ -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;



Mime
View raw message