From efad4ffdf3be45494e6a46b5cdb083cdc30ec9be Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Aug 2013 14:29:50 +0200 Subject: convert include/sfx2/docfac.hxx from String to OUString Change-Id: I324e8985b2beef25e6f44f5cfee9be274a124e34 --- include/sfx2/docfac.hxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include/sfx2') diff --git a/include/sfx2/docfac.hxx b/include/sfx2/docfac.hxx index e8d15a8366cd..96034944e0a2 100644 --- a/include/sfx2/docfac.hxx +++ b/include/sfx2/docfac.hxx @@ -73,9 +73,9 @@ public: const SvGlobalName& GetClassId() const; SfxObjectShellFlags GetFlags() { return nFlags; } const char* GetShortName() const { return pShortName; } - String GetFactoryURL() const; // shortcut for "private:factory/GetShortName()" - String GetFactoryName() const { return OUString::createFromAscii(pShortName); } - String GetModuleName() const; + OUString GetFactoryURL() const; // shortcut for "private:factory/GetShortName()" + OUString GetFactoryName() const { return OUString::createFromAscii(pShortName); } + OUString GetModuleName() const; SfxFilterContainer *GetFilterContainer( sal_Bool bForceLoad = sal_True) const; // Views @@ -84,13 +84,13 @@ public: SfxViewFactory& GetViewFactory(sal_uInt16 i = 0) const; /// returns the view factory whose GetAPIViewName or GetLegacyViewName delivers the requested logical name - SfxViewFactory* GetViewFactoryByViewName( const String& i_rViewName ) const; + SfxViewFactory* GetViewFactoryByViewName( const OUString& i_rViewName ) const; // Filter const SfxFilter* GetTemplateFilter() const; - static String GetStandardTemplate( const String& rServiceName ); - static void SetStandardTemplate( const String& rServiceName, const String& rTemplateName ); - static void SetSystemTemplate( const String& rServiceName, const String& rTemplateName ); + static OUString GetStandardTemplate( const OUString& rServiceName ); + static void SetStandardTemplate( const OUString& rServiceName, const OUString& rTemplateName ); + static void SetSystemTemplate( const OUString& rServiceName, const OUString& rTemplateName ); void SetDocumentServiceName( const OUString& rServiceName ); const OUString& GetDocumentServiceName() const; -- cgit