summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-11-30 16:22:11 +0100
committerMichael Stahl <mstahl@redhat.com>2016-11-30 21:46:11 +0000
commit61f61e7723380d3eff0eee21effe0d4dc3f7dad3 (patch)
tree97c7ab07048a8ab58b1b9f15bd34259992ba07c2 /include
parent4430ace32a8dfd534d5e1c64ec7855edad11e5c4 (diff)
don't hold vector as pointer here ...
and make impl types private Change-Id: I7ead64bac38da3d813e0b47fa124970937c36617 Reviewed-on: https://gerrit.libreoffice.org/31438 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svl/poolcach.hxx18
1 files changed, 8 insertions, 10 deletions
diff --git a/include/svl/poolcach.hxx b/include/svl/poolcach.hxx
index 6c55fae31b2c..cfb148d30bd3 100644
--- a/include/svl/poolcach.hxx
+++ b/include/svl/poolcach.hxx
@@ -27,19 +27,17 @@ class SfxItemSet;
class SfxPoolItem;
class SfxSetItem;
-struct SfxItemModifyImpl
-{
- const SfxSetItem *pOrigItem;
- SfxSetItem *pPoolItem;
-};
-
-typedef std::vector<SfxItemModifyImpl> SfxItemModifyArr_Impl;
-
-
class SVL_DLLPUBLIC SfxItemPoolCache
{
+ struct SfxItemModifyImpl
+ {
+ const SfxSetItem *pOrigItem;
+ SfxSetItem *pPoolItem;
+ };
+ typedef std::vector<SfxItemModifyImpl> SfxItemModifyArr_Impl;
+
SfxItemPool *pPool;
- SfxItemModifyArr_Impl *pCache;
+ SfxItemModifyArr_Impl m_aCache;
const SfxItemSet *pSetToPut;
const SfxPoolItem *pItemToPut;