diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-27 09:27:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-27 10:54:37 +0100 |
commit | 7047f46695689564b1a69679e3a4e5a8c20aa3a3 (patch) | |
tree | 21ef06c5758694c912c159f970c94d40d5817c7c /vcl/inc | |
parent | d9e0eade62b7164e81458a5da7c2aba6f4c77311 (diff) |
return by unique_ptr from psp::PrintFontManager::getFontOptions
Change-Id: Ib78844af17ff60453ad714eb50c01626ea2ee792
Reviewed-on: https://gerrit.libreoffice.org/69792
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-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 d796aba7e944..0ce8ff437c69 100644 --- a/vcl/inc/unx/fontmanager.hxx +++ b/vcl/inc/unx/fontmanager.hxx @@ -312,7 +312,7 @@ public: in different fonts in e.g. english and japanese */ void matchFont( FastPrintFontInfo& rInfo, const css::lang::Locale& rLocale ); - static FontConfigFontOptions* getFontOptions( const FastPrintFontInfo&, int nSize); + static std::unique_ptr<FontConfigFontOptions> getFontOptions( const FastPrintFontInfo&, int nSize); void Substitute(FontSelectPattern &rPattern, OUString& rMissingCodes); |