diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-06-04 09:10:21 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-06-04 09:10:21 +0000 |
commit | 7f09c18de8654ac8bf746f623c992080e40163ba (patch) | |
tree | 332b324a476f59a7eff296407ec77150a65cab08 /sc/inc | |
parent | 85aa36e76abe4ce5e8ada557747732450c291a69 (diff) |
INTEGRATION: CWS rowlimit (1.1.1.1.346); FILE MERGED
2004/04/29 16:14:32 er 1.1.1.1.346.4: RESYNC: (1.1.1.1-1.2); FILE MERGED
2004/01/16 17:39:46 er 1.1.1.1.346.3: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2004/01/12 17:15:02 er 1.1.1.1.346.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2003/11/28 19:47:23 er 1.1.1.1.346.1: #i1967# move ScAddress, ScRange from global.hxx to address.hxx
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/hints.hxx | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx index d8b2a931e075..e98bf08b7421 100644 --- a/sc/inc/hints.hxx +++ b/sc/inc/hints.hxx @@ -2,9 +2,9 @@ * * $RCSfile: hints.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: obo $ $Date: 2004-03-19 16:04:37 $ + * last change: $Author: obo $ $Date: 2004-06-04 10:10:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -66,6 +66,10 @@ #include "global.hxx" #endif +#ifndef SC_ADDRESS_HXX +#include "address.hxx" +#endif + #ifndef _SFXHINT_HXX //autogen #include <svtools/hint.hxx> #endif @@ -87,12 +91,12 @@ public: void SetPrintFlag(BOOL bSet) { bPrint = bSet; } const ScRange& GetRange() const { return aRange; } - USHORT GetStartCol() const { return aRange.aStart.Col(); } - USHORT GetStartRow() const { return aRange.aStart.Row(); } - USHORT GetStartTab() const { return aRange.aStart.Tab(); } - USHORT GetEndCol() const { return aRange.aEnd.Col(); } - USHORT GetEndRow() const { return aRange.aEnd.Row(); } - USHORT GetEndTab() const { return aRange.aEnd.Tab(); } + SCCOL GetStartCol() const { return aRange.aStart.Col(); } + SCROW GetStartRow() const { return aRange.aStart.Row(); } + SCTAB GetStartTab() const { return aRange.aStart.Tab(); } + SCCOL GetEndCol() const { return aRange.aEnd.Col(); } + SCROW GetEndRow() const { return aRange.aEnd.Row(); } + SCTAB GetEndTab() const { return aRange.aEnd.Tab(); } USHORT GetParts() const { return nParts; } BOOL GetPrintFlag() const { return bPrint; } }; @@ -102,22 +106,22 @@ class ScUpdateRefHint : public SfxHint { UpdateRefMode eUpdateRefMode; ScRange aRange; - short nDx; - short nDy; - short nDz; + SCsCOL nDx; + SCsROW nDy; + SCsTAB nDz; public: TYPEINFO(); ScUpdateRefHint( UpdateRefMode eMode, const ScRange& rR, - short nX, short nY, short nZ ); + SCsCOL nX, SCsROW nY, SCsTAB nZ ); ~ScUpdateRefHint(); UpdateRefMode GetMode() const { return eUpdateRefMode; } const ScRange& GetRange() const { return aRange; } - short GetDx() const { return nDx; } - short GetDy() const { return nDy; } - short GetDz() const { return nDz; } + SCsCOL GetDx() const { return nDx; } + SCsROW GetDy() const { return nDy; } + SCsTAB GetDz() const { return nDz; } }; |