diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-22 22:37:41 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-22 22:47:21 -0500 |
commit | 811d6ff5e30e1527c54b25b8040b3783205245a6 (patch) | |
tree | 3ebbc2e903e70619873ffd9cfcd0ab2b8d66f677 /include | |
parent | 96811dbda3c61115ead7837b19f664533b86f6b5 (diff) |
Apply pimpl to SvKeyValueIterator, to hide ptr_vector from the header.
Change-Id: I16c25d28066fbc8d6357bf89b047763b67bc85bb
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/svparser.hxx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx index d3294eac9c8b..f6cfc9c4743a 100644 --- a/include/svtools/svparser.hxx +++ b/include/svtools/svparser.hxx @@ -25,8 +25,7 @@ #include <tools/ref.hxx> #include <rtl/textenc.h> #include <rtl/ustring.hxx> -#include <boost/ptr_container/ptr_vector.hpp> -#include <boost/utility.hpp> +#include <boost/noncopyable.hpp> #include <vector> struct SvParser_Impl; @@ -248,21 +247,17 @@ public: * *======================================================================*/ -typedef boost::ptr_vector<SvKeyValue> SvKeyValueList_Impl; - class SVT_DLLPUBLIC SvKeyValueIterator : public SvRefBase, private boost::noncopyable { - /** Representation. - */ - SvKeyValueList_Impl* m_pList; - sal_uInt16 m_nPos; + struct Impl; + Impl* mpImpl; public: /** Construction/Destruction. */ - SvKeyValueIterator (void); - virtual ~SvKeyValueIterator (void); + SvKeyValueIterator(); + virtual ~SvKeyValueIterator(); /** Operation. */ |