diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-09 14:46:17 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-09 15:00:16 +0000 |
commit | d6a6f587a852ba5c993c658b6b6432a65207f5b7 (patch) | |
tree | 15881ec368059ac17ede67682ef4f4e0b16d1c59 /sc/inc | |
parent | 5fd43512c37ed5c3937b94d0a8d53d7e9c2ac0d1 (diff) |
tdf#100257 - Data : XML Source does not work
Revert "sc: boost::ptr_vector->std::vector"
This reverts commit 280553e30f4ddc932838f98a9efaac03a988a0df.
Change-Id: Ia50c9cf7902e2e830c6e7f7a13c8f04341556e6c
Reviewed-on: https://gerrit.libreoffice.org/26106
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/orcusxml.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/orcusxml.hxx b/sc/inc/orcusxml.hxx index e16029cf815c..cc41f3b6c3e0 100644 --- a/sc/inc/orcusxml.hxx +++ b/sc/inc/orcusxml.hxx @@ -15,6 +15,7 @@ #include <vcl/image.hxx> #include <vector> +#include <boost/ptr_container/ptr_vector.hpp> class SvTreeListEntry; @@ -37,7 +38,7 @@ struct ScOrcusXMLTreeParam SC_DLLPUBLIC EntryData(EntryType eType); }; - typedef std::vector<EntryData> EntryDataVec; + typedef boost::ptr_vector<EntryData> UserDataStoreType; Image maImgElementDefault; Image maImgElementRepeat; @@ -47,7 +48,7 @@ struct ScOrcusXMLTreeParam * Store all custom data instances since the tree control doesn't manage * the life cycle of user datas. */ - EntryDataVec maUserDataStore; + UserDataStoreType maUserDataStore; static SC_DLLPUBLIC EntryData* getUserData(SvTreeListEntry& rEntry); static SC_DLLPUBLIC const EntryData* getUserData(const SvTreeListEntry& rEntry); |