diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/column.hxx | 10 | ||||
-rw-r--r-- | sc/source/core/data/column.cxx | 5 |
2 files changed, 6 insertions, 9 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index cfe4bbe297d9..35316cdc1b24 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -67,14 +67,7 @@ struct ScNeededSizeOptions bool bGetFont; bool bTotalSize; - ScNeededSizeOptions() - { - pPattern = NULL; - bFormula = false; - bSkipMerged = true; - bGetFont = true; - bTotalSize = false; - } + ScNeededSizeOptions(); }; struct ColEntry @@ -83,7 +76,6 @@ struct ColEntry ScBaseCell* pCell; }; - class ScColumn { private: diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index d8037556fce8..4ee7923a13c1 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -49,6 +49,11 @@ inline bool IsAmbiguousScriptNonZero( sal_uInt8 nScript ) nScript != 0 ); } +ScNeededSizeOptions::ScNeededSizeOptions() : + pPattern(NULL), bFormula(false), bSkipMerged(true), bGetFont(true), bTotalSize(false) +{ +} + ScColumn::ScColumn() : nCol( 0 ), pAttrArray( NULL ), |