summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sfx2/msgpool.hxx4
-rw-r--r--sfx2/source/control/msgpool.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/msgpool.hxx b/include/sfx2/msgpool.hxx
index 500912ff3f5b..891bcac0402b 100644
--- a/include/sfx2/msgpool.hxx
+++ b/include/sfx2/msgpool.hxx
@@ -59,12 +59,12 @@ public:
static SfxSlotPool& GetSlotPool( SfxViewFrame *pFrame=NULL );
sal_uInt16 GetGroupCount();
- String SeekGroup( sal_uInt16 nNo );
+ OUString SeekGroup( sal_uInt16 nNo );
const SfxSlot* FirstSlot();
const SfxSlot* NextSlot();
const SfxSlot* GetSlot( 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;
};
diff --git a/sfx2/source/control/msgpool.cxx b/sfx2/source/control/msgpool.cxx
index f7bd1a07b276..2b356acf57db 100644
--- a/sfx2/source/control/msgpool.cxx
+++ b/sfx2/source/control/msgpool.cxx
@@ -140,7 +140,7 @@ const SfxSlot* SfxSlotPool::GetSlot( sal_uInt16 nId )
// skips to the next group
-String SfxSlotPool::SeekGroup( sal_uInt16 nNo )
+OUString SfxSlotPool::SeekGroup( sal_uInt16 nNo )
{
DBG_ASSERT( _pInterfaces != NULL, "no Interfaces registered" );
@@ -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;
for ( sal_uInt16 nInterface=0; nInterface<_pInterfaces->size(); ++nInterface )