summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterTextView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterTextView.cxx')
-rw-r--r--sdext/source/presenter/PresenterTextView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx
index 3583438bcd81..731aee81e911 100644
--- a/sdext/source/presenter/PresenterTextView.cxx
+++ b/sdext/source/presenter/PresenterTextView.cxx
@@ -725,7 +725,7 @@ void PresenterTextParagraph::AddLine (
Line aLine (rCurrentLine.startPos, rCurrentLine.endPos);
// Find the start and end of the line with respect to cells.
- if (maLines.size() > 0)
+ if (!maLines.empty())
{
aLine.mnLineStartCellIndex = maLines.back().mnLineEndCellIndex;
aLine.mnBaseLine = maLines.back().mnBaseLine + mnLineHeight;