diff options
Diffstat (limited to 'filter/inc')
-rw-r--r-- | filter/inc/filter/msfilter/msdffimp.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/filter/inc/filter/msfilter/msdffimp.hxx b/filter/inc/filter/msfilter/msdffimp.hxx index 7c7bc7d25a23..162667152ff0 100644 --- a/filter/inc/filter/msfilter/msdffimp.hxx +++ b/filter/inc/filter/msfilter/msdffimp.hxx @@ -45,6 +45,7 @@ #include <vector> #include <set> #include <boost/ptr_container/ptr_vector.hpp> +#include <boost/ptr_container/ptr_set.hpp> class Graphic; class SvStream; @@ -329,11 +330,9 @@ private: }; /** list of all SvxMSDffImportRec instances of/for a group */ -struct CompareMSDffImportRecords -{ - bool operator()( SvxMSDffImportRec* const& lhs, SvxMSDffImportRec* const& rhs ) const { return (*lhs)<(*rhs); } -}; -class MSFILTER_DLLPUBLIC MSDffImportRecords : public std::set<SvxMSDffImportRec*,CompareMSDffImportRecords> {}; +class MSFILTER_DLLPUBLIC MSDffImportRecords + : public ::boost::ptr_set<SvxMSDffImportRec> +{}; /** block of parameters for import/export for a single call of ImportObjAtCurrentStreamPos() */ |