summaryrefslogtreecommitdiff
path: root/include/vcl/outdev.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-19 18:21:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-20 14:40:05 +0200
commit7d44fb6d97f629839bb896142ccb4ce0c55db707 (patch)
tree5838bb831fb558649fd02d98c0cdffab0e116a37 /include/vcl/outdev.hxx
parent401cba4c20fbc930f034168872642428d7459218 (diff)
TODO: refcount ImplFontCache
Change-Id: Ia4499c2a1515aebaff9edf0e843fc66c7fb1414e Reviewed-on: https://gerrit.libreoffice.org/59309 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r--include/vcl/outdev.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 553baf20e591..28dab9a0df9c 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -339,7 +339,7 @@ private:
mutable VclPtr<OutputDevice> mpNextGraphics; ///< Next output device in list
GDIMetaFile* mpMetaFile;
mutable rtl::Reference<LogicalFontInstance> mpFontInstance;
- mutable ImplFontCache* mpFontCache;
+ mutable std::shared_ptr<ImplFontCache> mxFontCache;
mutable PhysicalFontCollection* mpFontCollection;
mutable std::unique_ptr<ImplDeviceFontList> mpDeviceFontList;
mutable std::unique_ptr<ImplDeviceFontSizeList> mpDeviceFontSizeList;