summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-15 16:19:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-17 10:16:35 +0200
commit5ed542f8a3ce41f92e0d88d1452a6128f9a70db1 (patch)
tree35ff329af6ccc89c5c79518d46972c643a202746 /include/svtools
parent11814957b081957b86c76113e1686a922d4188ba (diff)
loplugin:useuniqueptr in GraphicManager
Change-Id: I46f2e6a0ef2e2d19b0af0238a46462efe6e2c068
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/grfmgr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 993d13dd117a..84e60975891f 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -498,7 +498,7 @@ private:
std::unordered_set< GraphicObject* > maObjList;
sal_uLong mnUsedSize; // currently used memory footprint of all swapped in graphics
- GraphicCache* mpCache;
+ std::unique_ptr<GraphicCache> mpCache;
GraphicManager( const GraphicManager& ) = delete;
GraphicManager& operator=( const GraphicManager& ) = delete;