diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-03-22 12:00:58 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-03-22 12:00:58 +0100 |
commit | 9971b64067576dbb05d2f77ad62ff665175a2bf3 (patch) | |
tree | d81a80802a3e3bb4027935529e4ff3bdde6f4931 /vcl | |
parent | 37750daee2577f6977f3130a85bbb4a16488abd8 (diff) |
cppcheck: fix Possible inefficient checking
Change-Id: I71449d40875970aa49320ae86a3104d132f5d5e9
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index bf8c70742db2..29353a11aeca 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -10607,7 +10607,7 @@ void PDFWriterImpl::setFont( const Font& rFont ) void PDFWriterImpl::push( sal_uInt16 nFlags ) { - OSL_ENSURE( m_aGraphicsStack.size() > 0, "invalid graphics stack" ); + OSL_ENSURE( !m_aGraphicsStack.empty(), "invalid graphics stack" ); m_aGraphicsStack.push_front( m_aGraphicsStack.front() ); m_aGraphicsStack.front().m_nFlags = nFlags; } |