From d203948fdb780c7af5777fcc26ad88bac1bd714e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 10 Jun 2015 13:51:56 +0200 Subject: convert 'it.begin() == it.end()' to 'it.empty()' Change-Id: I244a9eb6bce6b1c649653ec38ebb9a39f8b4c145 Reviewed-on: https://gerrit.libreoffice.org/16212 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- vcl/generic/print/glyphset.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/generic/print/glyphset.cxx') diff --git a/vcl/generic/print/glyphset.cxx b/vcl/generic/print/glyphset.cxx index 37bd752525f8..f0c4e301ec65 100644 --- a/vcl/generic/print/glyphset.cxx +++ b/vcl/generic/print/glyphset.cxx @@ -657,7 +657,7 @@ GlyphSet::PSUploadEncoding(osl::File* pOutFile, PrinterGfx &rGfx) std::list< OString > aName( rMgr.getAdobeNameFromUnicode((*aSortedGlyph).second) ); - if( aName.begin() != aName.end() ) + if( !aName.empty() ) nSize += psp::appendStr ( aName.front().getStr(), pEncodingVector + nSize); else nSize += psp::appendStr (".notdef", pEncodingVector + nSize ); -- cgit