summaryrefslogtreecommitdiff
path: root/sfx2/source/config
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-07 17:14:47 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-07 17:14:47 +0100
commit247c5f73eb0427a1e77e52dd2842f5f7d6073781 (patch)
treeabcc7bc31aaa6458f7ee2ad66769d0c23e61c216 /sfx2/source/config
parent8e143e3729a28cf423f8eed73dbc28d88cd15e4f (diff)
removetooltypes: #i112600# remove tooltypes
Diffstat (limited to 'sfx2/source/config')
-rw-r--r--sfx2/source/config/evntconf.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx
index 46a723b092..918d5098dc 100644
--- a/sfx2/source/config/evntconf.cxx
+++ b/sfx2/source/config/evntconf.cxx
@@ -67,7 +67,7 @@ using namespace com::sun::star;
SfxEventNamesList& SfxEventNamesList::operator=( const SfxEventNamesList& rTbl )
{
DelDtor();
- for (USHORT n=0; n<rTbl.Count(); n++ )
+ for (sal_uInt16 n=0; n<rTbl.Count(); n++ )
{
SfxEventName* pTmp = ((SfxEventNamesList&)rTbl).GetObject(n);
SfxEventName *pNew = new SfxEventName( *pTmp );
@@ -95,19 +95,19 @@ int SfxEventNamesItem::operator==( const SfxPoolItem& rAttr ) const
const SfxEventNamesList& rOther = ( (SfxEventNamesItem&) rAttr ).aEventsList;
if ( rOwn.Count() != rOther.Count() )
- return FALSE;
+ return sal_False;
- for ( USHORT nNo = 0; nNo < rOwn.Count(); ++nNo )
+ for ( sal_uInt16 nNo = 0; nNo < rOwn.Count(); ++nNo )
{
const SfxEventName *pOwn = rOwn.GetObject(nNo);
const SfxEventName *pOther = rOther.GetObject(nNo);
if ( pOwn->mnId != pOther->mnId ||
pOwn->maEventName != pOther->maEventName ||
pOwn->maUIName != pOther->maUIName )
- return FALSE;
+ return sal_False;
}
- return TRUE;
+ return sal_True;
}
@@ -126,25 +126,25 @@ SfxPoolItem* SfxEventNamesItem::Clone( SfxItemPool *) const
return new SfxEventNamesItem(*this);
}
-SfxPoolItem* SfxEventNamesItem::Create(SvStream &, USHORT) const
+SfxPoolItem* SfxEventNamesItem::Create(SvStream &, sal_uInt16) const
{
DBG_ERROR("not streamable!");
return new SfxEventNamesItem(Which());
}
-SvStream& SfxEventNamesItem::Store(SvStream &rStream, USHORT ) const
+SvStream& SfxEventNamesItem::Store(SvStream &rStream, sal_uInt16 ) const
{
DBG_ERROR("not streamable!");
return rStream;
}
-USHORT SfxEventNamesItem::GetVersion( USHORT ) const
+sal_uInt16 SfxEventNamesItem::GetVersion( sal_uInt16 ) const
{
DBG_ERROR("not streamable!");
return 0;
}
-void SfxEventNamesItem::AddEvent( const String& rName, const String& rUIName, USHORT nID )
+void SfxEventNamesItem::AddEvent( const String& rName, const String& rUIName, sal_uInt16 nID )
{
aEventsList.Insert( new SfxEventName( nID, rName, rUIName.Len() ? rUIName : rName ) );
}
@@ -288,7 +288,7 @@ void SfxEventConfiguration::ConfigureEvent( rtl::OUString aName, const SvxMacro&
}
// -------------------------------------------------------------------------------------------------------
-SvxMacro* SfxEventConfiguration::ConvertToMacro( const com::sun::star::uno::Any& rElement, SfxObjectShell* pDoc, BOOL bBlowUp )
+SvxMacro* SfxEventConfiguration::ConvertToMacro( const com::sun::star::uno::Any& rElement, SfxObjectShell* pDoc, sal_Bool bBlowUp )
{
return SfxEvents_Impl::ConvertToMacro( rElement, pDoc, bBlowUp );
}