Kaydet (Commit) 79c91fe9 authored tarafından Noel Grandin's avatar Noel Grandin

convert include/sfx2/msgpool.hxx from String to OUString

Change-Id: I7cfb0ec39eb615f8c0137fde531dd559ce2191f3
üst df050fc1
...@@ -59,12 +59,12 @@ public: ...@@ -59,12 +59,12 @@ public:
static SfxSlotPool& GetSlotPool( SfxViewFrame *pFrame=NULL ); static SfxSlotPool& GetSlotPool( SfxViewFrame *pFrame=NULL );
sal_uInt16 GetGroupCount(); sal_uInt16 GetGroupCount();
String SeekGroup( sal_uInt16 nNo ); OUString SeekGroup( sal_uInt16 nNo );
const SfxSlot* FirstSlot(); const SfxSlot* FirstSlot();
const SfxSlot* NextSlot(); const SfxSlot* NextSlot();
const SfxSlot* GetSlot( sal_uInt16 nId ); const SfxSlot* GetSlot( sal_uInt16 nId );
const SfxSlot* GetUnoSlot( sal_uInt16 nId ); const SfxSlot* GetUnoSlot( sal_uInt16 nId );
const SfxSlot* GetUnoSlot( const String& rUnoName ); const SfxSlot* GetUnoSlot( const OUString& rUnoName );
TypeId GetSlotType( sal_uInt16 nSlotId ) const; TypeId GetSlotType( sal_uInt16 nSlotId ) const;
}; };
......
...@@ -140,7 +140,7 @@ const SfxSlot* SfxSlotPool::GetSlot( sal_uInt16 nId ) ...@@ -140,7 +140,7 @@ const SfxSlot* SfxSlotPool::GetSlot( sal_uInt16 nId )
// skips to the next group // skips to the next group
String SfxSlotPool::SeekGroup( sal_uInt16 nNo ) OUString SfxSlotPool::SeekGroup( sal_uInt16 nNo )
{ {
DBG_ASSERT( _pInterfaces != NULL, "no Interfaces registered" ); DBG_ASSERT( _pInterfaces != NULL, "no Interfaces registered" );
...@@ -291,7 +291,7 @@ SfxInterface* SfxSlotPool::FirstInterface() ...@@ -291,7 +291,7 @@ SfxInterface* SfxSlotPool::FirstInterface()
//-------------------------------------------------------------------- //--------------------------------------------------------------------
const SfxSlot* SfxSlotPool::GetUnoSlot( const String& rName ) const SfxSlot* SfxSlotPool::GetUnoSlot( const OUString& rName )
{ {
const SfxSlot *pSlot = NULL; const SfxSlot *pSlot = NULL;
for ( sal_uInt16 nInterface=0; nInterface<_pInterfaces->size(); ++nInterface ) for ( sal_uInt16 nInterface=0; nInterface<_pInterfaces->size(); ++nInterface )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment