From d030c4a2a54418b17e87f837092a33eae21f0588 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 17 Sep 2015 18:59:32 +0100 Subject: revert for mac and win unit case crashes after boost->std Change-Id: I82c7084f203a834c2d42f9527705288e6036019b --- sc/inc/colorscale.hxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sc/inc/colorscale.hxx') diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx index e0884c757b6d..5514e0269016 100644 --- a/sc/inc/colorscale.hxx +++ b/sc/inc/colorscale.hxx @@ -11,6 +11,7 @@ #define INCLUDED_SC_INC_COLORSCALE_HXX #include +#include #include #include #include "rangelst.hxx" @@ -19,7 +20,6 @@ #include #include -#include #include //TODO: merge this with conditio.hxx @@ -50,8 +50,8 @@ class SC_DLLPUBLIC ScColorScaleEntry private: double mnVal; Color maColor; - std::unique_ptr mpCell; - std::unique_ptr mpListener; + boost::scoped_ptr mpCell; + boost::scoped_ptr mpListener; ScColorScaleEntryType meType; public: @@ -133,7 +133,7 @@ struct SC_DLLPUBLIC ScDataBarFormatData * * Default color is 0xFF0000, this value is not set */ - std::unique_ptr mpNegativeColor; + boost::scoped_ptr mpNegativeColor; /** * Color of the axis if used * Default color is black @@ -177,8 +177,8 @@ struct SC_DLLPUBLIC ScDataBarFormatData */ bool mbOnlyBar; - std::unique_ptr mpUpperLimit; - std::unique_ptr mpLowerLimit; + boost::scoped_ptr mpUpperLimit; + boost::scoped_ptr mpLowerLimit; }; enum ScIconSetType @@ -242,7 +242,7 @@ private: { std::vector maValues; }; - mutable std::unique_ptr mpCache; + mutable boost::scoped_ptr mpCache; }; typedef std::vector> ScColorScaleEntries; @@ -323,7 +323,7 @@ private: double getMin(double nMin, double nMax) const; double getMax(double nMin, double nMax) const; - std::unique_ptr mpFormatData; + boost::scoped_ptr mpFormatData; }; struct ScIconSetFormatData @@ -396,7 +396,7 @@ private: double GetMaxValue() const; double CalcValue(double nMin, double nMax, ScIconSetFormat::const_iterator& itr) const; - std::unique_ptr mpFormatData; + boost::scoped_ptr mpFormatData; }; #endif -- cgit