summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/fieldwnd.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-06-04 10:33:24 +0000
committerOliver Bolte <obo@openoffice.org>2004-06-04 10:33:24 +0000
commita028914c702617663c937345cbe0f554c0b45d90 (patch)
tree620259176b9b1822ceadd2b51a36386703744dfa /sc/source/ui/inc/fieldwnd.hxx
parentf09ef2d844b08ec7cf93338318afed8956c79064 (diff)
INTEGRATION: CWS rowlimit (1.9.178); FILE MERGED
2004/04/29 16:32:43 er 1.9.178.2: RESYNC: (1.9-1.10); FILE MERGED 2004/01/13 20:04:16 er 1.9.178.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
Diffstat (limited to 'sc/source/ui/inc/fieldwnd.hxx')
-rw-r--r--sc/source/ui/inc/fieldwnd.hxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/sc/source/ui/inc/fieldwnd.hxx b/sc/source/ui/inc/fieldwnd.hxx
index 7e5112072431..507ce71c53d9 100644
--- a/sc/source/ui/inc/fieldwnd.hxx
+++ b/sc/source/ui/inc/fieldwnd.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fieldwnd.hxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: hr $ $Date: 2004-04-13 12:31:18 $
+ * last change: $Author: obo $ $Date: 2004-06-04 11:33:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -64,6 +64,10 @@
#include <vector>
+#ifndef SC_ADDRESS_HXX
+#include "address.hxx"
+#endif
+
#ifndef _SV_CTRL_HXX
#include <vcl/ctrl.hxx>
#endif
@@ -143,7 +147,7 @@ private:
/** @return TRUE, if the field with the given index exists. */
bool IsExistingIndex( size_t nIndex ) const;
/** @return The new selection index after moving to the given direction. */
- size_t CalcNewFieldIndex( short nDX, short nDY ) const;
+ size_t CalcNewFieldIndex( SCsCOL nDX, SCsROW nDY ) const;
/** Sets selection to the field with index nIndex. */
void SetSelection( size_t nIndex );
@@ -152,12 +156,12 @@ private:
/** Sets selection to last field. */
void SetSelectionEnd();
/** Sets selection to new position relative to current. */
- void MoveSelection( USHORT nKeyCode, short nDX, short nDY );
+ void MoveSelection( USHORT nKeyCode, SCsCOL nDX, SCsROW nDY );
/** Moves the selected field to nDestIndex. */
void MoveField( size_t nDestIndex );
/** Moves the selected field to the given direction. */
- void MoveFieldRel( short nDX, short nDY );
+ void MoveFieldRel( SCsCOL nDX, SCsROW nDY );
protected:
virtual void Paint( const Rectangle& rRect );