openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o..@apache.org
Subject svn commit: r1409212 - /incubator/ooo/trunk/main/sw/source/filter/ww8/wrtww8.cxx
Date Wed, 14 Nov 2012 14:22:22 GMT
Author: orw
Date: Wed Nov 14 14:22:21 2012
New Revision: 1409212

URL: http://svn.apache.org/viewvc?rev=1409212&view=rev
Log:
#121282# function <lcl_TCFlags(...)> - correct type of parameter <nRowSpan>

         Found by: Pedro Giffuni

Modified:
    incubator/ooo/trunk/main/sw/source/filter/ww8/wrtww8.cxx

Modified: incubator/ooo/trunk/main/sw/source/filter/ww8/wrtww8.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/ww8/wrtww8.cxx?rev=1409212&r1=1409211&r2=1409212&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/ww8/wrtww8.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/ww8/wrtww8.cxx Wed Nov 14 14:22:21 2012
@@ -1917,14 +1917,14 @@ void WW8AttributeOutput::TableInfoRow( w
     }
 }
 
-static sal_uInt16 lcl_TCFlags(SwDoc &rDoc, const SwTableBox * pBox, long nRowSpan)
+static sal_uInt16 lcl_TCFlags(SwDoc &rDoc, const SwTableBox * pBox, const sal_uInt32
nRowSpan)
 {
     sal_uInt16 nFlags = 0;
 
     if (nRowSpan > 1)
         nFlags |= (3 << 5);
-    else if (nRowSpan < 0)
-        nFlags |= (1 << 5);
+    //else if (nRowSpan < 0)
+    //    nFlags |= (1 << 5);
 
     if (pBox != NULL)
     {



Mime
View raw message