summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <orw@apache.org>2012-11-14 13:22:21 +0000
committerOliver-Rainer Wittmann <orw@apache.org>2012-11-14 13:22:21 +0000
commitc8d736bc7dc78a3357c0265d3bd1c1954d44c714 (patch)
tree1113fce68e90dd4e82f066ef1e0332458bbec621
parentaf9220c24c9d80e5415d9d7d8f273b28d0d27cdb (diff)
#121282# function <lcl_TCFlags(...)> - correct type of parameter <nRowSpan>
Found by: Pedro Giffuni
Notes
Notes: prefer: 8bd3bf0ff20fc18a0a6358e36b3f8a7e3b34a2bb
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index da1a63735256..d072ce7416c8 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -1917,14 +1917,14 @@ void WW8AttributeOutput::TableInfoRow( ww8::WW8TableNodeInfoInner::Pointer_t pTa
}
}
-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)
{