diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
commit | 7f33ed417b2e29e5470724ea76967f64699a2662 (patch) | |
tree | abfa1432c5ffffe4c7502d4ddcaee918c584c69c /sw/inc/fmtanchr.hxx | |
parent | 80731dbfcb48a2ffec30a4b2abe1ba8ada8f0169 (diff) |
removetooltypes01: #i112600# Remove tools types from sw
Diffstat (limited to 'sw/inc/fmtanchr.hxx')
-rw-r--r-- | sw/inc/fmtanchr.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/inc/fmtanchr.hxx b/sw/inc/fmtanchr.hxx index 3b505952e4d9..3c91bad86b60 100644 --- a/sw/inc/fmtanchr.hxx +++ b/sw/inc/fmtanchr.hxx @@ -35,7 +35,7 @@ struct SwPosition; class IntlWrapper; -#define IVER_FMTANCHOR_LONGIDX ((USHORT)1) +#define IVER_FMTANCHOR_LONGIDX ((sal_uInt16)1) //FlyAnchor, Anker des Freifliegenden Rahmen ---- @@ -45,14 +45,14 @@ class SW_DLLPUBLIC SwFmtAnchor: public SfxPoolItem //Index fuer Absatzgebundene Rahmen. //Position fuer Zeichengebundene Rahmen RndStdIds nAnchorId; - USHORT nPageNum; //Seitennummer bei Seitengeb. Rahmen. + sal_uInt16 nPageNum; //Seitennummer bei Seitengeb. Rahmen. // OD 2004-05-05 #i28701# - getting anchor positions ordered sal_uInt32 mnOrder; static sal_uInt32 mnOrderCounter; public: - SwFmtAnchor( RndStdIds eRnd = FLY_AT_PAGE, USHORT nPageNum = 0 ); + SwFmtAnchor( RndStdIds eRnd = FLY_AT_PAGE, sal_uInt16 nPageNum = 0 ); SwFmtAnchor( const SwFmtAnchor &rCpy ); ~SwFmtAnchor(); @@ -68,24 +68,24 @@ public: String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual sal_Bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; + virtual sal_Bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); RndStdIds GetAnchorId() const { return nAnchorId; } - USHORT GetPageNum() const { return nPageNum; } + sal_uInt16 GetPageNum() const { return nPageNum; } const SwPosition *GetCntntAnchor() const { return pCntntAnchor; } // OD 2004-05-05 #i28701# sal_uInt32 GetOrder() const; void SetType( RndStdIds nRndId ) { nAnchorId = nRndId; } - void SetPageNum( USHORT nNew ) { nPageNum = nNew; } + void SetPageNum( sal_uInt16 nNew ) { nPageNum = nNew; } void SetAnchor( const SwPosition *pPos ); }; -inline const SwFmtAnchor &SwAttrSet::GetAnchor(BOOL bInP) const +inline const SwFmtAnchor &SwAttrSet::GetAnchor(sal_Bool bInP) const { return static_cast<const SwFmtAnchor&>(Get(RES_ANCHOR, bInP)); } - inline const SwFmtAnchor &SwFmt::GetAnchor(BOOL bInP) const + inline const SwFmtAnchor &SwFmt::GetAnchor(sal_Bool bInP) const { return aSet.GetAnchor(bInP); } #endif |