diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-20 11:42:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-20 17:55:01 +0000 |
commit | e8260df1d67baf807771cd5c740164a227856515 (patch) | |
tree | fbf45c4cdede1d4fcb880342e544fa58cb23e3a6 /sw/source/core/doc/htmltbl.cxx | |
parent | 52350c15b37573e160f25d39565f577fc7189955 (diff) |
loplugin:expandablemethodds in sw(part2)
Change-Id: Idc2118899a8063099b66c0f5db40d8402db063d1
Reviewed-on: https://gerrit.libreoffice.org/30083
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/doc/htmltbl.cxx')
-rw-r--r-- | sw/source/core/doc/htmltbl.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx index d3fe02c2c226..ace49e99aedf 100644 --- a/sw/source/core/doc/htmltbl.cxx +++ b/sw/source/core/doc/htmltbl.cxx @@ -71,8 +71,6 @@ public: SwHTMLTableLayoutConstraints *InsertNext( SwHTMLTableLayoutConstraints *pNxt ); SwHTMLTableLayoutConstraints* GetNext() const { return pNext; } - sal_uInt16 GetRow() const { return nRow; } - sal_uInt16 GetColSpan() const { return nColSpan; } sal_uInt16 GetColumn() const { return nCol; } }; @@ -143,7 +141,7 @@ SwHTMLTableLayoutConstraints *SwHTMLTableLayoutConstraints::InsertNext( SwHTMLTableLayoutConstraints *pConstr = this; while( pConstr ) { - if( pConstr->GetRow() > pNxt->GetRow() || + if( pConstr->nRow > pNxt->nRow || pConstr->GetColumn() > pNxt->GetColumn() ) break; pPrev = pConstr; |