diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-04-12 16:38:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-04-12 20:33:06 +0200 |
commit | 1453c2c8f13bac64ecd1981af7cebf1c421808ac (patch) | |
tree | 7246d310899dea0c499cfe04addcb57e4776a4d0 /vcl/unx/generic/print | |
parent | f7d8e3318044bb70647424a1eea354bc59e4ced5 (diff) |
prefer vector::data to &vector[0]
probably missed loads more
Change-Id: I53c9fe188055ef925fed54500e64b837cd56a1e7
Reviewed-on: https://gerrit.libreoffice.org/70676
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/generic/print')
-rw-r--r-- | vcl/unx/generic/print/glyphset.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/print/glyphset.cxx b/vcl/unx/generic/print/glyphset.cxx index 0f259ab5b669..522bb06f99c6 100644 --- a/vcl/unx/generic/print/glyphset.cxx +++ b/vcl/unx/generic/print/glyphset.cxx @@ -233,7 +233,7 @@ static void CreatePSUploadableFont( TrueTypeFont* pSrcFont, FILE* pTmpFile, aInfo.LoadFont( pSrcFont ); aInfo.CreateFontSubset( nTargetMask, pTmpFile, pGlyphSetName, - &aRequestedGlyphs[0], &aEncoding[0], nGlyphCount ); + &aRequestedGlyphs[0], aEncoding.data(), nGlyphCount ); } void |