Kaydet (Commit) 05a9f91d authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

coverity#736941 : Arguments in wrong order

Change-Id: I94f0232f9e3544d43bf89a0cf728ea48dc7db470
üst dcca10d4
...@@ -84,8 +84,8 @@ class SwHTMLWrtTable : public SwWriteTable ...@@ -84,8 +84,8 @@ class SwHTMLWrtTable : public SwWriteTable
public: public:
SwHTMLWrtTable( const SwTableLines& rLines, long nWidth, sal_uInt32 nBWidth, SwHTMLWrtTable( const SwTableLines& rLines, long nWidth, sal_uInt32 nBWidth,
sal_Bool bRel, sal_uInt16 nNumOfRowsToRepeat, sal_Bool bRel, sal_uInt16 nLeftSub=0, sal_uInt16 nRightSub=0,
sal_uInt16 nLeftSub=0, sal_uInt16 nRightSub=0 ); sal_uInt16 nNumOfRowsToRepeat = 0 );
SwHTMLWrtTable( const SwHTMLTableLayout *pLayoutInfo ); SwHTMLWrtTable( const SwHTMLTableLayout *pLayoutInfo );
void Write( SwHTMLWriter& rWrt, sal_Int16 eAlign=text::HoriOrientation::NONE, void Write( SwHTMLWriter& rWrt, sal_Int16 eAlign=text::HoriOrientation::NONE,
...@@ -96,8 +96,9 @@ public: ...@@ -96,8 +96,9 @@ public:
SwHTMLWrtTable::SwHTMLWrtTable( const SwTableLines& rLines, long nWidth, SwHTMLWrtTable::SwHTMLWrtTable( const SwTableLines& rLines, long nWidth,
sal_uInt32 nBWidth, sal_Bool bRel, sal_uInt16 nNumOfRowsToRepeat, sal_uInt32 nBWidth, sal_Bool bRel,
sal_uInt16 nLSub, sal_uInt16 nRSub ) sal_uInt16 nLSub, sal_uInt16 nRSub,
sal_uInt16 nNumOfRowsToRepeat )
: SwWriteTable( rLines, nWidth, nBWidth, bRel, MAX_DEPTH, nLSub, nRSub, nNumOfRowsToRepeat ) : SwWriteTable( rLines, nWidth, nBWidth, bRel, MAX_DEPTH, nLSub, nRSub, nNumOfRowsToRepeat )
{ {
PixelizeBorders(); PixelizeBorders();
...@@ -1136,7 +1137,7 @@ Writer& OutHTML_SwTblNode( Writer& rWrt, SwTableNode & rNode, ...@@ -1136,7 +1137,7 @@ Writer& OutHTML_SwTblNode( Writer& rWrt, SwTableNode & rNode,
else else
{ {
SwHTMLWrtTable aTableWrt( rTbl.GetTabLines(), nWidth, SwHTMLWrtTable aTableWrt( rTbl.GetTabLines(), nWidth,
nBaseWidth, bRelWidths, rTbl.GetRowsToRepeat() ); nBaseWidth, bRelWidths, 0, 0, rTbl.GetRowsToRepeat() );
aTableWrt.Write( rHTMLWrt, eTabHoriOri, rTbl.GetRowsToRepeat() > 0, aTableWrt.Write( rHTMLWrt, eTabHoriOri, rTbl.GetRowsToRepeat() > 0,
pFmt, pCaption, bTopCaption, pFmt, pCaption, bTopCaption,
nFlyHSpace, nFlyVSpace ); nFlyHSpace, nFlyVSpace );
......
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