summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/viewutil.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-06-04 10:46:06 +0000
committerOliver Bolte <obo@openoffice.org>2004-06-04 10:46:06 +0000
commit96438921c542564e15cac71a7e07e95115a7ed6a (patch)
tree4416f8cb74375bd9e9f99e89447da0fe3e4110b9 /sc/source/ui/inc/viewutil.hxx
parent4fb1b7bdb9ff008eed3645a24b03d483e07a5de3 (diff)
INTEGRATION: CWS rowlimit (1.4.336); FILE MERGED
2004/01/16 17:42:52 er 1.4.336.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short 2004/01/13 20:04:53 er 1.4.336.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short 2003/11/28 19:48:04 er 1.4.336.1: #i1967# move ScAddress, ScRange from global.hxx to address.hxx
Diffstat (limited to 'sc/source/ui/inc/viewutil.hxx')
-rw-r--r--sc/source/ui/inc/viewutil.hxx45
1 files changed, 26 insertions, 19 deletions
diff --git a/sc/source/ui/inc/viewutil.hxx b/sc/source/ui/inc/viewutil.hxx
index edd642bb3c73..f4893d81f6fd 100644
--- a/sc/source/ui/inc/viewutil.hxx
+++ b/sc/source/ui/inc/viewutil.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: viewutil.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2004-04-27 16:11:36 $
+ * last change: $Author: obo $ $Date: 2004-06-04 11:46:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,9 +62,16 @@
#ifndef SC_VIEWUTIL_HXX
#define SC_VIEWUTIL_HXX
+#ifndef SC_ADDRESS_HXX
+#include "address.hxx"
+#endif
+
#ifndef _SOLAR_H
#include <tools/solar.h>
#endif
+#ifndef _SAL_TYPES_H_
+#include <sal/types.h>
+#endif
class String;
class SfxItemSet;
@@ -111,24 +118,24 @@ public:
class ScUpdateRect
{
private:
- USHORT nOldStartX;
- USHORT nOldStartY;
- USHORT nOldEndX;
- USHORT nOldEndY;
- USHORT nNewStartX;
- USHORT nNewStartY;
- USHORT nNewEndX;
- USHORT nNewEndY;
- USHORT nContX1;
- USHORT nContY1;
- USHORT nContX2;
- USHORT nContY2;
+ SCCOL nOldStartX;
+ SCROW nOldStartY;
+ SCCOL nOldEndX;
+ SCROW nOldEndY;
+ SCCOL nNewStartX;
+ SCROW nNewStartY;
+ SCCOL nNewEndX;
+ SCROW nNewEndY;
+ SCCOL nContX1;
+ SCROW nContY1;
+ SCCOL nContX2;
+ SCROW nContY2;
public:
- ScUpdateRect( USHORT nX1, USHORT nY1, USHORT nX2, USHORT nY2 );
- void SetNew( USHORT nX1, USHORT nY1, USHORT nX2, USHORT nY2 );
- BOOL GetDiff( USHORT& rX1, USHORT& rY1, USHORT& rX2, USHORT& rY2 );
- BOOL GetXorDiff( USHORT& rX1, USHORT& rY1, USHORT& rX2, USHORT& rY2, BOOL& rCont );
- void GetContDiff( USHORT& rX1, USHORT& rY1, USHORT& rX2, USHORT& rY2 );
+ ScUpdateRect( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2 );
+ void SetNew( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2 );
+ BOOL GetDiff( SCCOL& rX1, SCROW& rY1, SCCOL& rX2, SCROW& rY2 );
+ BOOL GetXorDiff( SCCOL& rX1, SCROW& rY1, SCCOL& rX2, SCROW& rY2, BOOL& rCont );
+ void GetContDiff( SCCOL& rX1, SCROW& rY1, SCCOL& rX2, SCROW& rY2 );
};