From b68f583b6576249532cf6529dcbb383e06ad02c3 Mon Sep 17 00:00:00 2001 From: Niklas Nebel Date: Mon, 8 Feb 2010 18:55:57 +0100 Subject: datapilotperf: compile without warnings --- sc/inc/dpglobal.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sc/inc/dpglobal.hxx') 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 -#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 ); -- cgit v1.2.3