diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-06-04 10:37:48 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-06-04 10:37:48 +0000 |
commit | 40cbadec9500cca937b45d253a1a10de1f29dba0 (patch) | |
tree | a1c9920053799ba1a0defccc3bd94ef4399fec8e /sc/source/ui/inc/pfuncache.hxx | |
parent | 6b9b0e44564da7682867672c04790886c5f5be94 (diff) |
INTEGRATION: CWS rowlimit (1.1.308); FILE MERGED
2004/02/20 22:49:05 er 1.1.308.2: #i1967# type correctness
2004/01/13 20:04:26 er 1.1.308.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
Diffstat (limited to 'sc/source/ui/inc/pfuncache.hxx')
-rw-r--r-- | sc/source/ui/inc/pfuncache.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/inc/pfuncache.hxx b/sc/source/ui/inc/pfuncache.hxx index 361cfa0e8845..113e591b1070 100644 --- a/sc/source/ui/inc/pfuncache.hxx +++ b/sc/source/ui/inc/pfuncache.hxx @@ -2,9 +2,9 @@ * * $RCSfile: pfuncache.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: nn $ $Date: 2002-08-28 17:56:39 $ + * last change: $Author: obo $ $Date: 2004-06-04 11:37:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -109,8 +109,8 @@ class ScPrintFuncCache ScPrintSelectionStatus aSelection; ScDocShell* pDocSh; long nTotalPages; - long nPages[MAXTAB+1]; - long nFirstAttr[MAXTAB+1]; + long nPages[MAXTABCOUNT]; + long nFirstAttr[MAXTABCOUNT]; public: ScPrintFuncCache( ScDocShell* pD, const ScMarkData& rMark, @@ -120,10 +120,10 @@ public: BOOL IsSameSelection( const ScPrintSelectionStatus& rStatus ) const; long GetPageCount() const { return nTotalPages; } - long GetFirstAttr( USHORT nTab ) const { return nFirstAttr[nTab]; } - USHORT GetTabForPage( long nPage ) const; - long GetTabStart( USHORT nTab ) const; - long GetDisplayStart( USHORT nTab ) const; + long GetFirstAttr( SCTAB nTab ) const { return nFirstAttr[nTab]; } + SCTAB GetTabForPage( long nPage ) const; + long GetTabStart( SCTAB nTab ) const; + long GetDisplayStart( SCTAB nTab ) const; }; #endif |