diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-22 15:27:13 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-29 09:30:00 +0200 |
commit | 71a408f5b1244580b658bd79fa760bd2b3a64dea (patch) | |
tree | df453a118d765f221bbc585822cdd5f32ba0eff5 /include/sfx2/sfxdlg.hxx | |
parent | 82ecc2602cff2086da9a3ec1640156380c3ac028 (diff) |
convert include/sfx2/sfxdlg.hxx from String to OUString
Change-Id: I13831d61e23db846d2083bbf96701384b750592f
Diffstat (limited to 'include/sfx2/sfxdlg.hxx')
-rw-r--r-- | include/sfx2/sfxdlg.hxx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/include/sfx2/sfxdlg.hxx b/include/sfx2/sfxdlg.hxx index e7a4d215ab09..1d809fdd598a 100644 --- a/include/sfx2/sfxdlg.hxx +++ b/include/sfx2/sfxdlg.hxx @@ -38,7 +38,9 @@ class SfxBindings; class SfxItemSet; class ResId; class Window; -class String; +namespace rtl { + class OUString; +}; class SfxItemPool; class SvObjectServerList; class TransferableDataHelper; @@ -91,8 +93,8 @@ public: class SfxAbstractPasteDialog : virtual public VclAbstractDialog { public: - virtual void Insert( SotFormatStringId nFormat, const String & rFormatName ) = 0; - virtual void SetObjName( const SvGlobalName & rClass, const String & rObjName ) = 0; + virtual void Insert( SotFormatStringId nFormat, const rtl::OUString & rFormatName ) = 0; + virtual void SetObjName( const SvGlobalName & rClass, const rtl::OUString & rObjName ) = 0; virtual sal_uIntPtr GetFormat( const TransferableDataHelper& aHelper, const DataFlavorExVector* pFormats=0, const TransferableObjectDescriptor* pDesc=0 ) = 0; @@ -105,7 +107,7 @@ class SfxAbstractLinksDialog : virtual public VclAbstractDialog class AbstractScriptSelectorDialog : virtual public VclAbstractDialog { public: - virtual String GetScriptURL() const = 0; + virtual rtl::OUString GetScriptURL() const = 0; virtual void SetRunLabel() = 0; }; @@ -117,19 +119,19 @@ public: virtual ~SfxAbstractDialogFactory(); // needed for export of vtable static SfxAbstractDialogFactory* Create(); virtual VclAbstractDialog* CreateSfxDialog( Window* pParent, const SfxBindings& rBindings, sal_uInt32 nResId ) = 0; - virtual VclAbstractDialog* CreateFrameDialog( Window* pParent, const com::sun::star::uno::Reference< com::sun::star::frame::XFrame >& rFrame, sal_uInt32 nResId, const String& rParameter ) = 0; + virtual VclAbstractDialog* CreateFrameDialog( Window* pParent, const com::sun::star::uno::Reference< com::sun::star::frame::XFrame >& rFrame, sal_uInt32 nResId, const rtl::OUString& rParameter ) = 0; virtual SfxAbstractTabDialog* CreateTabDialog( sal_uInt32 nResId, Window* pParent, const SfxItemSet* pAttrSet, SfxViewFrame* pViewFrame, bool bEditFmt=false, - const String *pUserButtonText=0 ) = 0; + const rtl::OUString *pUserButtonText=0 ) = 0; virtual SfxAbstractTabDialog* CreateTabDialog( sal_uInt32 nResId, Window* pParent, const SfxItemSet* pAttrSet, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xViewFrame, bool bEditFmt=false, - const String *pUserButtonText=0 ) = 0; + const rtl::OUString *pUserButtonText=0 ) = 0; virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) = 0; virtual GetTabPageRanges GetTabPageRangesFunc( sal_uInt16 nId ) = 0; virtual SfxAbstractInsertObjectDialog* CreateInsertObjectDialog( Window* pParent, const OUString& rCommand, @@ -139,7 +141,7 @@ public: const com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject >& xObj )=0; virtual SfxAbstractPasteDialog* CreatePasteDialog( Window* pParent )=0; virtual SfxAbstractLinksDialog* CreateLinksDialog( Window* pParent, sfx2::LinkManager* pMgr, sal_Bool bHTML=sal_False, sfx2::SvBaseLink* p=0 )=0; - virtual VclAbstractDialog * CreateSvxScriptOrgDialog( Window* pParent, const String& rLanguage ) = 0; + virtual VclAbstractDialog * CreateSvxScriptOrgDialog( Window* pParent, const rtl::OUString& rLanguage ) = 0; virtual AbstractScriptSelectorDialog* CreateScriptSelectorDialog( |