summaryrefslogtreecommitdiff
path: root/sc/inc/dpglobal.hxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2010-02-08 18:55:57 +0100
committerNiklas Nebel <nn@openoffice.org>2010-02-08 18:55:57 +0100
commitb68f583b6576249532cf6529dcbb383e06ad02c3 (patch)
treed5baef33f3f48d506acd47c04785ab923fd7ea58 /sc/inc/dpglobal.hxx
parentda4c55557ffad9cf733399b6e8eb8030f3e97839 (diff)
datapilotperf: compile without warnings
Diffstat (limited to 'sc/inc/dpglobal.hxx')
-rw-r--r--sc/inc/dpglobal.hxx5
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 );