diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/cell.hxx | 1 | ||||
-rw-r--r-- | sc/inc/column.hxx | 3 | ||||
-rw-r--r-- | sc/inc/globalnames.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/cell.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/column.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/column3.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/documen8.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/table1.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/table5.cxx | 1 |
9 files changed, 11 insertions, 1 deletions
diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx index 5fbfb0b445b9..214fa2d9d788 100644 --- a/sc/inc/cell.hxx +++ b/sc/inc/cell.hxx @@ -38,7 +38,6 @@ #include "scdllapi.h" #define USE_MEMPOOL -#define TEXTWIDTH_DIRTY 0xffff // in addition to SCRIPTTYPE_... flags from scripttypeitem.hxx: // set (in nScriptType) if type has not been determined yet diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 0a699d3dfb0a..93ae44f0a523 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -84,6 +84,9 @@ class ScColumn { typedef mdds::multi_type_vector<mdds::mtv::element_block_func> TextWidthType; + // Only stores empty or unsigned short values. Empty values correspond + // with empty cells. All non-empty cell positions must have unsigned short + // values; either the reall text widths or TEXTWIDTH_DIRTY. TextWidthType maTextWidths; SCCOL nCol; diff --git a/sc/inc/globalnames.hxx b/sc/inc/globalnames.hxx index 33ac520c8a5f..4fee4711fb32 100644 --- a/sc/inc/globalnames.hxx +++ b/sc/inc/globalnames.hxx @@ -34,6 +34,8 @@ #define STR_GLOBAL_RANGE_NAME "__Global_Range_Name__" +#define TEXTWIDTH_DIRTY 0xffff + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx index bc6367c1bed1..0b990a866f1a 100644 --- a/sc/source/core/data/cell.cxx +++ b/sc/source/core/data/cell.cxx @@ -40,6 +40,7 @@ #include "externalrefmgr.hxx" #include "macromgr.hxx" #include "dbdata.hxx" +#include "globalnames.hxx" #include <editeng/editobj.hxx> #include <svl/intitem.hxx> diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index 6082ed6a2cdc..682afc66d116 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -29,6 +29,7 @@ #include "markdata.hxx" #include "detfunc.hxx" // for Notes in Sort/Swap #include "postit.hxx" +#include "globalnames.hxx" #include <svl/poolcach.hxx> #include <svl/zforlist.hxx> diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index 5054a8112fa6..57b5370dcfef 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -44,6 +44,7 @@ #include "postit.hxx" #include "stringutil.hxx" #include "docpool.hxx" +#include "globalnames.hxx" #include <com/sun/star/i18n/LocaleDataItem.hpp> diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx index 9b9fecccbaba..7c782f394fcf 100644 --- a/sc/source/core/data/documen8.cxx +++ b/sc/source/core/data/documen8.cxx @@ -86,6 +86,7 @@ #include "docuno.hxx" #include "scresid.hxx" #include "columniterator.hxx" +#include "globalnames.hxx" #include <memory> #include <boost/scoped_ptr.hpp> diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx index be34e5150848..b50380a0b224 100644 --- a/sc/source/core/data/table1.cxx +++ b/sc/source/core/data/table1.cxx @@ -44,6 +44,7 @@ #include "dbdata.hxx" #include "colorscale.hxx" #include "conditio.hxx" +#include "globalnames.hxx" #include <vector> diff --git a/sc/source/core/data/table5.cxx b/sc/source/core/data/table5.cxx index 355d2f1059bd..1525371835c7 100644 --- a/sc/source/core/data/table5.cxx +++ b/sc/source/core/data/table5.cxx @@ -37,6 +37,7 @@ #include "globstr.hrc" #include "segmenttree.hxx" #include "columniterator.hxx" +#include "globalnames.hxx" #include <com/sun/star/sheet/TablePageBreakData.hpp> |