Author: hdu
Date: Mon Mar  4 13:31:23 2013
New Revision: 1452298

URL: http://svn.apache.org/r1452298
Log:
WaE: clarify precedence in WW8SwFlyPara's FlySecur1()

Modified:
    openoffice/trunk/main/sw/source/filter/ww8/ww8par6.cxx

Modified: openoffice/trunk/main/sw/source/filter/ww8/ww8par6.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/filter/ww8/ww8par6.cxx?rev=1452298&r1=1452297&r2=1452298&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/filter/ww8/ww8par6.cxx (original)
+++ openoffice/trunk/main/sw/source/filter/ww8/ww8par6.cxx Mon Mar  4 13:31:23 
2013
@@ -1641,8 +1641,8 @@ bool SwWW8ImplReader::SetFlyBordersShado
 
 static void FlySecur1(short& rSize, const bool bBorder)
 {
-    short nMin = MINFLY +
-        bBorder ? MAX_BORDER_SIZE : MAX_EMPTY_BORDER;
+    const short nMin = MINFLY +
+        (bBorder ? MAX_BORDER_SIZE : MAX_EMPTY_BORDER);
 
     if ( rSize < nMin )
         rSize = nMin;


Reply via email to