summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-10-21 20:30:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-22 12:21:20 +0200
commit3bf3cae9b7b4d38e0427d71a2b34629fd5988af7 (patch)
tree1c582289baf6aabb814ea6263ab27d7afa3384f9 /vcl/inc
parent61bddaff3380f7700f58a41adedf8befd34d4d91 (diff)
Replace some lists by vectors (vcl)
Change-Id: Id6f61cbbcd91e1a81e5ac23cdf19a6cda07f8659 Reviewed-on: https://gerrit.libreoffice.org/43675 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/unx/fontmanager.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx
index 16e819bace48..43170bb7108d 100644
--- a/vcl/inc/unx/fontmanager.hxx
+++ b/vcl/inc/unx/fontmanager.hxx
@@ -69,7 +69,7 @@ struct FastPrintFontInfo
// font attributes
OUString m_aFamilyName;
OUString m_aStyleName;
- std::list< OUString > m_aAliases;
+ std::vector< OUString > m_aAliases;
FontFamily m_eFamilyStyle;
FontItalic m_eItalic;
FontWidth m_eWidth;
@@ -150,7 +150,7 @@ class VCL_PLUGIN_PUBLIC PrintFontManager
std::vector<std::unique_ptr<PrintFont>> analyzeFontFile(int nDirID, const OString& rFileName, const char *pFormat=nullptr) const;
static OUString convertSfntName( void* pNameRecord ); // actually a NameRecord* format font subsetting code
- static void analyzeSfntFamilyName( void* pTTFont, std::list< OUString >& rnames ); // actually a TrueTypeFont* from font subsetting code
+ static void analyzeSfntFamilyName( void* pTTFont, std::vector< OUString >& rnames ); // actually a TrueTypeFont* from font subsetting code
bool analyzeSfntFile(PrintFont* pFont) const;
// finds the font id for the nFaceIndex face in this font file
// There may be multiple font ids for font collections
@@ -212,7 +212,7 @@ public:
void initialize();
// returns the ids of all managed fonts.
- void getFontList( std::list< fontID >& rFontIDs );
+ void getFontList( std::vector< fontID >& rFontIDs );
// get font info for a specific font
bool getFontInfo( fontID nFontID, PrintFontInfo& rInfo ) const;