diff options
Diffstat (limited to 'tools/inc/tools/resid.hxx')
-rw-r--r-- | tools/inc/tools/resid.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/inc/tools/resid.hxx b/tools/inc/tools/resid.hxx index cfefce8e6ab0..cf3ec3d78ea9 100644 --- a/tools/inc/tools/resid.hxx +++ b/tools/inc/tools/resid.hxx @@ -75,7 +75,7 @@ class ResId ImplInit( nId, rMgr, NULL ); } // backwards compatibility; avoid ambiguities - ResId( USHORT nId, ResMgr& rMgr ) + ResId( sal_uInt16 nId, ResMgr& rMgr ) { ImplInit( sal_uInt32(nId), rMgr, NULL ); } @@ -143,7 +143,7 @@ class ResId return *this; } - const ResId & SetAutoRelease(BOOL bRelease) const + const ResId & SetAutoRelease(sal_Bool bRelease) const { if( bRelease ) m_nResId &= ~RSC_DONTRELEASE; @@ -152,7 +152,7 @@ class ResId return *this; } - BOOL IsAutoRelease() const + sal_Bool IsAutoRelease() const { return !(m_nResId & RSC_DONTRELEASE); } sal_uInt32 GetId() const { return m_nResId & ~RSC_DONTRELEASE; } |