diff options
Diffstat (limited to 'sw/inc/fmteiro.hxx')
-rw-r--r-- | sw/inc/fmteiro.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/fmteiro.hxx b/sw/inc/fmteiro.hxx index 5880557e0704..dd56f0cf7b4b 100644 --- a/sw/inc/fmteiro.hxx +++ b/sw/inc/fmteiro.hxx @@ -39,8 +39,8 @@ class IntlWrapper; class SW_DLLPUBLIC SwFmtEditInReadonly : public SfxBoolItem { public: - SwFmtEditInReadonly( USHORT nId = RES_EDIT_IN_READONLY, - BOOL bPrt = FALSE ) : SfxBoolItem( nId, bPrt ) {} + SwFmtEditInReadonly( sal_uInt16 nId = RES_EDIT_IN_READONLY, + sal_Bool bPrt = sal_False ) : SfxBoolItem( nId, bPrt ) {} // "pure virtual methos" of SfxPoolItem virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; @@ -51,10 +51,10 @@ public: const IntlWrapper* pIntl = 0 ) const; }; -inline const SwFmtEditInReadonly &SwAttrSet::GetEditInReadonly(BOOL bInP) const +inline const SwFmtEditInReadonly &SwAttrSet::GetEditInReadonly(sal_Bool bInP) const { return (const SwFmtEditInReadonly&)Get( RES_EDIT_IN_READONLY,bInP); } -inline const SwFmtEditInReadonly &SwFmt::GetEditInReadonly(BOOL bInP) const +inline const SwFmtEditInReadonly &SwFmt::GetEditInReadonly(sal_Bool bInP) const { return aSet.GetEditInReadonly(bInP); } #endif |