summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objitem.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-10 16:07:18 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-10 16:07:18 +0100
commit3f4e9b4c3cd9028744ea6ed5e93c41c51a15d229 (patch)
tree65f4fe38cd7c7ba5805435393b299eb0b8ff31c6 /sfx2/source/doc/objitem.cxx
parent61a8280d645fe1b6957591d5d338d073040e8b2e (diff)
removetooltypes01: #i112600# remove tooltypes from sfx2
Diffstat (limited to 'sfx2/source/doc/objitem.cxx')
-rw-r--r--sfx2/source/doc/objitem.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/doc/objitem.cxx b/sfx2/source/doc/objitem.cxx
index 2980d984fd78..01fb87f29eac 100644
--- a/sfx2/source/doc/objitem.cxx
+++ b/sfx2/source/doc/objitem.cxx
@@ -64,7 +64,7 @@ SfxPoolItem* SfxObjectShellItem::Clone( SfxItemPool *) const
//--------------------------------------------------------------------
-sal_Bool SfxObjectShellItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
+sal_Bool SfxObjectShellItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const
{
if ( pObjSh )
{
@@ -76,12 +76,12 @@ sal_Bool SfxObjectShellItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*
{
rVal <<= ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >();
}
- return TRUE;
+ return sal_True;
}
//--------------------------------------------------------------------
-sal_Bool SfxObjectShellItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
+sal_Bool SfxObjectShellItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ )
{
// This item MUST have a model. Please don't change this, there are UNO-based
// implementations which need it!!
@@ -100,21 +100,21 @@ sal_Bool SfxObjectShellItem::PutValue( const com::sun::star::uno::Any& rVal, BYT
if ( nHandle )
{
pObjSh = reinterpret_cast< SfxObjectShell* >(sal::static_int_cast<sal_IntPtr>( nHandle ));
- return TRUE;
+ return sal_True;
}
}
}
pObjSh = 0;
- return TRUE;
+ return sal_True;
}
- return FALSE;
+ return sal_False;
}
//=========================================================================
-SfxObjectItem::SfxObjectItem( USHORT nWhichId, SfxShell *pSh )
+SfxObjectItem::SfxObjectItem( sal_uInt16 nWhichId, SfxShell *pSh )
: SfxPoolItem( nWhichId ),
_pSh( pSh )
{}