diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-15 16:19:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-17 10:16:35 +0200 |
commit | 5ed542f8a3ce41f92e0d88d1452a6128f9a70db1 (patch) | |
tree | 35ff329af6ccc89c5c79518d46972c643a202746 /svtools | |
parent | 11814957b081957b86c76113e1686a922d4188ba (diff) |
loplugin:useuniqueptr in GraphicManager
Change-Id: I46f2e6a0ef2e2d19b0af0238a46462efe6e2c068
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/graphic/grfmgr2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx index 0fc929a76610..976c1be508c8 100644 --- a/svtools/source/graphic/grfmgr2.cxx +++ b/svtools/source/graphic/grfmgr2.cxx @@ -56,7 +56,7 @@ GraphicManager::GraphicManager( sal_uLong nCacheSize, sal_uLong nMaxObjCacheSize GraphicManager::~GraphicManager() { assert(maObjList.empty()); - delete mpCache; + mpCache.reset(); } void GraphicManager::SetMaxCacheSize( sal_uLong nNewCacheSize ) |