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

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

Change-Id: I86465e9c7fbf2e53c790862f11a9f40fd75b3e4a
üst 1d7eda00
......@@ -36,12 +36,12 @@ class SvxMacroTableDtor;
struct SFX2_DLLPUBLIC SfxEventName
{
sal_uInt16 mnId;
String maEventName;
String maUIName;
OUString maEventName;
OUString maUIName;
SfxEventName( sal_uInt16 nId,
const String& rEventName,
const String& rUIName )
const OUString& rEventName,
const OUString& rUIName )
: mnId( nId )
, maEventName( rEventName )
, maUIName( rUIName ) {}
......@@ -91,7 +91,7 @@ public:
const SfxEventNamesList& GetEvents() const { return aEventsList;}
void SetEvents( const SfxEventNamesList& rList ) { aEventsList = rList; }
void AddEvent( const String&, const String&, sal_uInt16 );
void AddEvent( const OUString&, const OUString&, sal_uInt16 );
};
// -----------------------------------------------------------------------
......
......@@ -131,9 +131,9 @@ sal_uInt16 SfxEventNamesItem::GetVersion( sal_uInt16 ) const
return 0;
}
void SfxEventNamesItem::AddEvent( const String& rName, const String& rUIName, sal_uInt16 nID )
void SfxEventNamesItem::AddEvent( const OUString& rName, const OUString& rUIName, sal_uInt16 nID )
{
aEventsList.push_back( new SfxEventName( nID, rName, rUIName.Len() ? rUIName : rName ) );
aEventsList.push_back( new SfxEventName( nID, rName, !rUIName.isEmpty() ? rUIName : rName ) );
}
......
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