Kaydet (Commit) c8d736bc authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann

#121282# function <lcl_TCFlags(...)> - correct type of parameter <nRowSpan>

Found by: Pedro Giffuni
üst af9220c2
...@@ -1917,14 +1917,14 @@ void WW8AttributeOutput::TableInfoRow( ww8::WW8TableNodeInfoInner::Pointer_t pTa ...@@ -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; sal_uInt16 nFlags = 0;
if (nRowSpan > 1) if (nRowSpan > 1)
nFlags |= (3 << 5); nFlags |= (3 << 5);
else if (nRowSpan < 0) //else if (nRowSpan < 0)
nFlags |= (1 << 5); // nFlags |= (1 << 5);
if (pBox != NULL) if (pBox != NULL)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment