summaryrefslogtreecommitdiffstats
path: root/sc/inc/hints.hxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-17 13:20:22 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-17 13:20:22 +0100
commitcd42389ad67b403a07a0dda8e2a6e213def49251 (patch)
tree51e19c743788a549502b7c801c64e11142103310 /sc/inc/hints.hxx
parentremovetooltypes01: #i112600# remove tooltypes from chart2 (diff)
downloadcore-cd42389ad67b403a07a0dda8e2a6e213def49251.tar.gz
core-cd42389ad67b403a07a0dda8e2a6e213def49251.zip
removetooltypes01: #i112600# remove tooltypes from sc
Diffstat (limited to 'sc/inc/hints.hxx')
-rw-r--r--sc/inc/hints.hxx34
1 files changed, 17 insertions, 17 deletions
diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx
index fca3d184a4a2..dbae6a3a5944 100644
--- a/sc/inc/hints.hxx
+++ b/sc/inc/hints.hxx
@@ -37,17 +37,17 @@
class ScPaintHint : public SfxHint
{
ScRange aRange;
- USHORT nParts;
- BOOL bPrint; // Flag, ob auch Druck/Vorschau betroffen ist
+ sal_uInt16 nParts;
+ sal_Bool bPrint; // Flag, ob auch Druck/Vorschau betroffen ist
ScPaintHint(); // disabled
public:
TYPEINFO();
- ScPaintHint( const ScRange& rRng, USHORT nPaint = PAINT_ALL );
+ ScPaintHint( const ScRange& rRng, sal_uInt16 nPaint = PAINT_ALL );
~ScPaintHint();
- void SetPrintFlag(BOOL bSet) { bPrint = bSet; }
+ void SetPrintFlag(sal_Bool bSet) { bPrint = bSet; }
const ScRange& GetRange() const { return aRange; }
SCCOL GetStartCol() const { return aRange.aStart.Col(); }
@@ -56,8 +56,8 @@ public:
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; }
+ sal_uInt16 GetParts() const { return nParts; }
+ sal_Bool GetPrintFlag() const { return bPrint; }
};
@@ -88,15 +88,15 @@ public:
class ScPointerChangedHint : public SfxHint
{
- USHORT nFlags;
+ sal_uInt16 nFlags;
public:
TYPEINFO();
-//UNUSED2008-05 ScPointerChangedHint( USHORT nF );
+//UNUSED2008-05 ScPointerChangedHint( sal_uInt16 nF );
~ScPointerChangedHint();
- USHORT GetFlags() const { return nFlags; }
+ sal_uInt16 GetFlags() const { return nFlags; }
};
@@ -109,12 +109,12 @@ public:
class ScLinkRefreshedHint : public SfxHint
{
- USHORT nLinkType; // SC_LINKREFTYPE_...
+ sal_uInt16 nLinkType; // SC_LINKREFTYPE_...
String aUrl; // used for sheet links
String aDdeAppl; // used for dde links:
String aDdeTopic;
String aDdeItem;
- BYTE nDdeMode;
+ sal_uInt8 nDdeMode;
ScAddress aDestPos; // used to identify area links
//! also use source data for area links?
@@ -124,15 +124,15 @@ public:
~ScLinkRefreshedHint();
void SetSheetLink( const String& rSourceUrl );
- void SetDdeLink( const String& rA, const String& rT, const String& rI, BYTE nM );
+ void SetDdeLink( const String& rA, const String& rT, const String& rI, sal_uInt8 nM );
void SetAreaLink( const ScAddress& rPos );
- USHORT GetLinkType() const { return nLinkType; }
+ sal_uInt16 GetLinkType() const { return nLinkType; }
const String& GetUrl() const { return aUrl; }
const String& GetDdeAppl() const { return aDdeAppl; }
const String& GetDdeTopic() const { return aDdeTopic; }
const String& GetDdeItem() const { return aDdeItem; }
- BYTE GetDdeMode() const { return nDdeMode; }
+ sal_uInt8 GetDdeMode() const { return nDdeMode; }
const ScAddress& GetDestPos() const { return aDestPos; }
};
@@ -144,17 +144,17 @@ class ScAutoStyleHint : public SfxHint
ScRange aRange;
String aStyle1;
String aStyle2;
- ULONG nTimeout;
+ sal_uLong nTimeout;
public:
TYPEINFO();
ScAutoStyleHint( const ScRange& rR, const String& rSt1,
- ULONG nT, const String& rSt2 );
+ sal_uLong nT, const String& rSt2 );
~ScAutoStyleHint();
const ScRange& GetRange() const { return aRange; }
const String& GetStyle1() const { return aStyle1; }
- UINT32 GetTimeout() const { return nTimeout; }
+ sal_uInt32 GetTimeout() const { return nTimeout; }
const String& GetStyle2() const { return aStyle2; }
};