summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2019-01-28 20:48:01 -0500
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-25 12:04:41 +0200
commit593bf02c8b65cdea1d77c6800a9af57e1c6cb08b (patch)
treee74f7b257bd6f011c1f880229349682e0653c735 /sd/inc
parent19b6115e3edc62f0ccd1449a28d368f23698624d (diff)
sd: LOK: avoid caching pointers and leaking
Change-Id: I68163bc30b0655b11dec34bdcc750b495b93365a Reviewed-on: https://gerrit.libreoffice.org/68265 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit da70e562087b6016aeaffadedc4ce66eaf370919) Reviewed-on: https://gerrit.libreoffice.org/76284 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/CustomAnimationPreset.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx
index 57669734014b..ad21b7a00d4a 100644
--- a/sd/inc/CustomAnimationPreset.hxx
+++ b/sd/inc/CustomAnimationPreset.hxx
@@ -129,7 +129,7 @@ private:
PresetCategoryList maMiscPresets;
//! Maps per-language the animation presets.
- SAL_DLLPRIVATE static std::map<OUString, CustomAnimationPresets*> mpCustomAnimationPresetsMap;
+ SAL_DLLPRIVATE static std::map<OUString, CustomAnimationPresets> mPresetsMap;
};