summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/htmltbl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/htmltbl.cxx')
-rw-r--r--sw/source/core/doc/htmltbl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx
index f82d8bb706d3..da0135abd966 100644
--- a/sw/source/core/doc/htmltbl.cxx
+++ b/sw/source/core/doc/htmltbl.cxx
@@ -392,9 +392,9 @@ const SwStartNode *SwHTMLTableLayout::GetAnyBoxStartNode() const
const SwTableBox* pBox = m_pSwTable->GetTabLines()[0]->GetTabBoxes()[0];
while( nullptr == (pBoxSttNd = pBox->GetSttNd()) )
{
- OSL_ENSURE( pBox->GetTabLines().size() > 0,
+ OSL_ENSURE( !pBox->GetTabLines().empty(),
"Box without start node and lines" );
- OSL_ENSURE( pBox->GetTabLines().front()->GetTabBoxes().size() > 0,
+ OSL_ENSURE( !pBox->GetTabLines().front()->GetTabBoxes().empty(),
"Line without boxes" );
pBox = pBox->GetTabLines().front()->GetTabBoxes().front();
}