diff options
author | Oliver-Rainer Wittmann <orw@apache.org> | 2012-11-14 13:22:21 +0000 |
---|---|---|
committer | Oliver-Rainer Wittmann <orw@apache.org> | 2012-11-14 13:22:21 +0000 |
commit | c8d736bc7dc78a3357c0265d3bd1c1954d44c714 (patch) | |
tree | 1113fce68e90dd4e82f066ef1e0332458bbec621 | |
parent | af9220c24c9d80e5415d9d7d8f273b28d0d27cdb (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.cxx | 6 |
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) { |