summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/condformatbuffer.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-19 08:40:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-19 09:55:18 +0000
commit8f2522f931df9f1f24ef7016ee64d75fd23af000 (patch)
tree59ad157d1683dc311e8688c5b4193754f0e178b8 /sc/source/filter/inc/condformatbuffer.hxx
parentc7efcb1340ceee35fe3b8ffd9ed86b8cae57d9ce (diff)
boost->std
Change-Id: Icae6b6f07ad8dbd287fdfc689739187883a07775
Diffstat (limited to 'sc/source/filter/inc/condformatbuffer.hxx')
-rw-r--r--sc/source/filter/inc/condformatbuffer.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/filter/inc/condformatbuffer.hxx b/sc/source/filter/inc/condformatbuffer.hxx
index c8d8bfb222c3..e0539e108b1e 100644
--- a/sc/source/filter/inc/condformatbuffer.hxx
+++ b/sc/source/filter/inc/condformatbuffer.hxx
@@ -22,8 +22,8 @@
#include "formulaparser.hxx"
#include "worksheethelper.hxx"
-#include <boost/scoped_ptr.hpp>
#include <tools/color.hxx>
+#include <memory>
class ScColorScaleFormat;
class ScDataBarFormat;
@@ -118,8 +118,8 @@ public:
private:
std::unique_ptr<ScDataBarFormatData> mxFormat;
- boost::scoped_ptr<ColorScaleRuleModelEntry> mpUpperLimit;
- boost::scoped_ptr<ColorScaleRuleModelEntry> mpLowerLimit;
+ std::unique_ptr<ColorScaleRuleModelEntry> mpUpperLimit;
+ std::unique_ptr<ColorScaleRuleModelEntry> mpLowerLimit;
};
class IconSetRule : public WorksheetHelper
@@ -165,12 +165,12 @@ private:
const CondFormat& mrCondFormat;
CondFormatRuleModel maModel;
ScConditionalFormat* mpFormat;
- boost::scoped_ptr<ColorScaleRule> mpColor;
- boost::scoped_ptr<DataBarRule> mpDataBar;
- boost::scoped_ptr<IconSetRule> mpIconSet;
+ std::unique_ptr<ColorScaleRule> mpColor;
+ std::unique_ptr<DataBarRule> mpDataBar;
+ std::unique_ptr<IconSetRule> mpIconSet;
};
-typedef ::boost::shared_ptr< CondFormatRule > CondFormatRuleRef;
+typedef std::shared_ptr< CondFormatRule > CondFormatRuleRef;
/** Model for a conditional formatting object. */
struct CondFormatModel
@@ -256,8 +256,8 @@ public:
ExCfRuleModel& getModel() { return maModel; }
};
-typedef ::boost::shared_ptr< CondFormat > CondFormatRef;
-typedef ::boost::shared_ptr< ExtCfRule > ExtCfRuleRef;
+typedef std::shared_ptr< CondFormat > CondFormatRef;
+typedef std::shared_ptr< ExtCfRule > ExtCfRuleRef;
class CondFormatBuffer : public WorksheetHelper
{