diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-10-10 23:18:10 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-10-11 00:05:57 +0200 |
commit | 78f79760d5cb768cb482646fc71a90cd6cd1e630 (patch) | |
tree | 6e1b8e078cd92a3234c41f7bae98b4e7576b71cc /vcl/inc/unx/fontmanager.hxx | |
parent | 42e8ca0f12c787f415bf644eb75e09849858f3ec (diff) |
Replace list by vector fontconfig/manager (vcl)
+ refactor a bit "analyzeFontFile" to return a vector of std::unique_ptr<PrintFont>
instead of just a bool
Change-Id: I9c8c307c5c323e40667359f5094672c1cde589fd
Reviewed-on: https://gerrit.libreoffice.org/43317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/inc/unx/fontmanager.hxx')
-rw-r--r-- | vcl/inc/unx/fontmanager.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx index 47ea4348bdcc..16e819bace48 100644 --- a/vcl/inc/unx/fontmanager.hxx +++ b/vcl/inc/unx/fontmanager.hxx @@ -148,7 +148,7 @@ class VCL_PLUGIN_PUBLIC PrintFontManager OString getFontFile(const PrintFont* pFont) const; - bool analyzeFontFile(int nDirID, const OString& rFileName, std::list<std::unique_ptr<PrintFont>>& rNewFonts, const char *pFormat=nullptr) const; + 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 bool analyzeSfntFile(PrintFont* pFont) const; |