From 309559f1eef2bac804821f7a07737e3d338d566f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 23 Aug 2013 15:51:57 +0200 Subject: convert include/sfx2/macropg.hxx from String to OUString Change-Id: I152f3e6a6899012d94a13a88787834670e8d2afc --- include/sfx2/macropg.hxx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/include/sfx2/macropg.hxx b/include/sfx2/macropg.hxx index 3ac5ad8ada29..e75549609b0c 100644 --- a/include/sfx2/macropg.hxx +++ b/include/sfx2/macropg.hxx @@ -31,7 +31,9 @@ class _SfxMacroTabPage; class SvTabListBox; class Edit; -class String; +namespace rtl { + class OUString; +} class SfxObjectShell; class SfxConfigFunctionListBox_Impl; @@ -62,18 +64,18 @@ protected: void InitAndSetHandler(); void FillEvents(); void FillMacroList(); - void EnableButtons( const String& rLanguage ); + void EnableButtons( const rtl::OUString& rLanguage ); public: virtual ~_SfxMacroTabPage(); - void AddEvent( const String & rEventName, sal_uInt16 nEventId ); + void AddEvent( const rtl::OUString & rEventName, sal_uInt16 nEventId ); const SvxMacroTableDtor& GetMacroTbl() const; void SetMacroTbl( const SvxMacroTableDtor& rTbl ); - virtual void ScriptChanged( const String& rLanguage ); + virtual void ScriptChanged( const rtl::OUString& rLanguage ); // --------- Erben aus der Basis ------------- virtual sal_Bool FillItemSet( SfxItemSet& rSet ); @@ -81,7 +83,7 @@ public: void SetReadOnly( sal_Bool bSet ); sal_Bool IsReadOnly() const; - void SelectEvent( const String& rEventName, sal_uInt16 nEventId ); + void SelectEvent( const rtl::OUString& rEventName, sal_uInt16 nEventId ); }; inline const SvxMacroTableDtor& _SfxMacroTabPage::GetMacroTbl() const -- cgit