diff options
Diffstat (limited to 'vcl/source/bitmap/bitmappaint.cxx')
-rw-r--r-- | vcl/source/bitmap/bitmappaint.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/bitmap/bitmappaint.cxx b/vcl/source/bitmap/bitmappaint.cxx index 0bbd32559bfe..7f754997d694 100644 --- a/vcl/source/bitmap/bitmappaint.cxx +++ b/vcl/source/bitmap/bitmappaint.cxx @@ -681,7 +681,7 @@ vcl::Region Bitmap::CreateRegion(const Color& rColor, const tools::Rectangle& rR if (aNewLine != aLine) { // need to write aLine, it's different from the next line - if (aLine.size()) + if (!aLine.empty()) { tools::Rectangle aSubRect; @@ -704,7 +704,7 @@ vcl::Region Bitmap::CreateRegion(const Color& rColor, const tools::Rectangle& rR } // write last line if used - if (aLine.size()) + if (!aLine.empty()) { tools::Rectangle aSubRect; |