diff options
Diffstat (limited to 'sc/inc/dpglobal.hxx')
-rw-r--r-- | sc/inc/dpglobal.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/dpglobal.hxx b/sc/inc/dpglobal.hxx index c4089be762c0..7de5947cc969 100644 --- a/sc/inc/dpglobal.hxx +++ b/sc/inc/dpglobal.hxx @@ -59,7 +59,8 @@ #include <com/sun/star/sheet/XLevelsSupplier.hpp> -#define MAX_LABELS (MAXCOL+1) +// moved from fieldwnd.hxx, see also SC_DAPI_MAXFIELDS +#define MAX_LABELS 256 #define MAX_PAGEFIELDS 10 // maximum count of fields for page area @@ -126,7 +127,7 @@ private: friend class ScDPTableDataCache; public: - ScDPItemData() : fValue(0.0), nNumFormat( 0 ), mbFlag( 0 ){} + ScDPItemData() : nNumFormat( 0 ), fValue(0.0), mbFlag( 0 ){} ScDPItemData( ULONG nNF, const String & rS, double fV, BYTE bF ):nNumFormat(nNF), aString(rS), fValue(fV), mbFlag( bF ){} ScDPItemData( const String& rS, double fV = 0.0, BOOL bHV = FALSE, const ULONG nNumFormat = 0 , BOOL bData = TRUE) ; ScDPItemData( ScDocument* pDoc, SCROW nRow, USHORT nCol, USHORT nDocTab ); |