summaryrefslogtreecommitdiff
path: root/sc/inc/fillinfo.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/fillinfo.hxx')
-rw-r--r--sc/inc/fillinfo.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sc/inc/fillinfo.hxx b/sc/inc/fillinfo.hxx
index 167e24a8aebc..a5786ba79d34 100644
--- a/sc/inc/fillinfo.hxx
+++ b/sc/inc/fillinfo.hxx
@@ -31,7 +31,6 @@
#include <svx/framelinkarray.hxx>
#include "global.hxx"
-#include <boost/shared_ptr.hpp>
class SfxItemSet;
class SvxBrushItem;
@@ -69,7 +68,7 @@ struct CellInfo
const ScPatternAttr* pPatternAttr;
const SfxItemSet* pConditionSet;
- boost::shared_ptr<Color> pColorScale;
+ const Color* pColorScale;
const SvxBrushItem* pBackground;
@@ -103,6 +102,14 @@ struct CellInfo
sal_Bool bHideGrid : 1; // output-internal
sal_Bool bEditEngine : 1; // output-internal
+
+ CellInfo():
+ pColorScale(NULL) {}
+
+ ~CellInfo()
+ {
+ delete pColorScale;
+ }
};
const SCCOL SC_ROTMAX_NONE = SCCOL_MAX;