summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xlstyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xlstyle.cxx')
-rw-r--r--sc/source/filter/excel/xlstyle.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xlstyle.cxx b/sc/source/filter/excel/xlstyle.cxx
index 8d769042642a..2debd508b563 100644
--- a/sc/source/filter/excel/xlstyle.cxx
+++ b/sc/source/filter/excel/xlstyle.cxx
@@ -1693,6 +1693,13 @@ XclCellArea::XclCellArea() :
{
}
+XclCellArea::XclCellArea(sal_uInt8 nPattern) :
+ mnForeColor( EXC_COLOR_WINDOWTEXT ),
+ mnBackColor( EXC_COLOR_WINDOWBACK ),
+ mnPattern( nPattern )
+{
+}
+
bool XclCellArea::IsTransparent() const
{
return (mnPattern == EXC_PATT_NONE) && (mnBackColor == EXC_COLOR_WINDOWBACK);