summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/condformatbuffer.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-12 14:04:14 +0200
committerNoel Grandin <noel@peralex.com>2015-11-13 10:54:18 +0200
commit0f611e670a36d22c66d91ee309eccac1ea65e0e9 (patch)
treeea05633104caa73ca5bb0f7fe1a30e23bee8e67f /sc/source/filter/inc/condformatbuffer.hxx
parent9265f9bd35ff6ef0e4ab285dd9fecebce6976e8d (diff)
sc: boost::ptr_vector->std::vector<std::unique_ptr>
Change-Id: Ie5d21180d49a7d82d4cc1f5b9a71152bb86d0555
Diffstat (limited to 'sc/source/filter/inc/condformatbuffer.hxx')
-rw-r--r--sc/source/filter/inc/condformatbuffer.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/filter/inc/condformatbuffer.hxx b/sc/source/filter/inc/condformatbuffer.hxx
index b2dd6c145a59..ccb498c11c76 100644
--- a/sc/source/filter/inc/condformatbuffer.hxx
+++ b/sc/source/filter/inc/condformatbuffer.hxx
@@ -26,8 +26,7 @@
#include "rangelst.hxx"
#include <memory>
-
-#include <boost/ptr_container/ptr_vector.hpp>
+#include <vector>
class ScColorScaleFormat;
class ScDataBarFormat;
@@ -293,7 +292,7 @@ public:
/** Imports settings from the CONDFORMATTING record. */
CondFormatRef importCondFormatting( SequenceInputStream& rStrm );
ExtCfDataBarRuleRef createExtCfDataBarRule(ScDataBarFormatData* pTarget);
- boost::ptr_vector<ExtCfCondFormat>& importExtCondFormat();
+ std::vector< std::unique_ptr<ExtCfCondFormat> >& importExtCondFormat();
/** Converts an OOXML condition operator token to the API constant. */
static sal_Int32 convertToApiOperator( sal_Int32 nToken );
@@ -307,7 +306,7 @@ private:
typedef RefVector< ExtCfDataBarRule > ExtCfDataBarRuleVec;
CondFormatVec maCondFormats; /// All conditional formatting in a sheet.
ExtCfDataBarRuleVec maCfRules; /// All external conditional formatting rules in a sheet.
- boost::ptr_vector<ExtCfCondFormat> maExtCondFormats;
+ std::vector< std::unique_ptr<ExtCfCondFormat> > maExtCondFormats;
};
} // namespace xls