diff options
Diffstat (limited to 'sw/inc/fmtfsize.hxx')
-rw-r--r-- | sw/inc/fmtfsize.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/inc/fmtfsize.hxx b/sw/inc/fmtfsize.hxx index df6d99910e91..ec3b7458ef6a 100644 --- a/sw/inc/fmtfsize.hxx +++ b/sw/inc/fmtfsize.hxx @@ -52,8 +52,8 @@ class SW_DLLPUBLIC SwFmtFrmSize: public SfxPoolItem Size aSize; SwFrmSize eFrmHeightType; SwFrmSize eFrmWidthType; - BYTE nWidthPercent; //Fuer Tabellen kann die Breite in Prozent - BYTE nHeightPercent; //angegeben sein. + sal_uInt8 nWidthPercent; //Fuer Tabellen kann die Breite in Prozent + sal_uInt8 nHeightPercent; //angegeben sein. //Fuer Rahmen koennen Hoehe und/oder Breite //in Prozent angegeben sein. Wenn nur eine //der Angaben in Prozent angeben ist, kann @@ -80,8 +80,8 @@ public: SfxMapUnit ePresMetric, 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 ); SwFrmSize GetHeightSizeType() const { return eFrmHeightType; } void SetHeightSizeType( SwFrmSize eSize ) { eFrmHeightType = eSize; } @@ -97,16 +97,16 @@ public: void SetHeight( const SwTwips nNew ) { aSize.Height() = nNew; } void SetWidth ( const SwTwips nNew ) { aSize.Width() = nNew; } - BYTE GetHeightPercent() const{ return nHeightPercent; } - BYTE GetWidthPercent() const { return nWidthPercent; } - void SetHeightPercent( BYTE n ) { nHeightPercent = n; } - void SetWidthPercent ( BYTE n ) { nWidthPercent = n; } + sal_uInt8 GetHeightPercent() const{ return nHeightPercent; } + sal_uInt8 GetWidthPercent() const { return nWidthPercent; } + void SetHeightPercent( sal_uInt8 n ) { nHeightPercent = n; } + void SetWidthPercent ( sal_uInt8 n ) { nWidthPercent = n; } }; -inline const SwFmtFrmSize &SwAttrSet::GetFrmSize(BOOL bInP) const +inline const SwFmtFrmSize &SwAttrSet::GetFrmSize(sal_Bool bInP) const { return (const SwFmtFrmSize&)Get( RES_FRM_SIZE,bInP); } -inline const SwFmtFrmSize &SwFmt::GetFrmSize(BOOL bInP) const +inline const SwFmtFrmSize &SwFmt::GetFrmSize(sal_Bool bInP) const { return aSet.GetFrmSize(bInP); } #endif |