diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 10:15:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 10:41:07 +0000 |
commit | 73cc391e9c9646e09722ce4324918646202c693b (patch) | |
tree | b0bfdcd3b1d48c8066d0d532392000c3e7915804 | |
parent | f12b4be44d8e490b7816206236bb628b20602716 (diff) |
use c++11 data()
Change-Id: Id111686979d6002d4b4206d18980c38e6260971f
-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 7f0455170f95..b3e0e38cb319 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -8733,7 +8733,7 @@ void PDFWriterImpl::drawLayout( SalLayout& rLayout, const OUString& rText, bool // mapping is possible } - registerGlyphs( nGlyphs, pGlyphs, pGlyphWidths, &aUnicodes[0], pUnicodesPerGlyph, pMappedGlyphs, pMappedFontObjects, pFallbackFonts ); + registerGlyphs( nGlyphs, pGlyphs, pGlyphWidths, aUnicodes.data(), pUnicodesPerGlyph, pMappedGlyphs, pMappedFontObjects, pFallbackFonts ); for( int i = 0; i < nGlyphs; i++ ) { |