summaryrefslogtreecommitdiff
path: root/sfx2/inc/sfx2/docfac.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/inc/sfx2/docfac.hxx')
-rw-r--r--sfx2/inc/sfx2/docfac.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/inc/sfx2/docfac.hxx b/sfx2/inc/sfx2/docfac.hxx
index b60d7590765a..1d3720a8b5b5 100644
--- a/sfx2/inc/sfx2/docfac.hxx
+++ b/sfx2/inc/sfx2/docfac.hxx
@@ -83,7 +83,7 @@ public:
SfxObjectShellFlags GetFlags() { return nFlags; }
const char* GetShortName() const { return pShortName; }
String GetFactoryURL() const; // shortcut for "private:factory/GetShortName()"
- String GetFactoryName() const { return String::CreateFromAscii( pShortName ); }
+ String GetFactoryName() const { return rtl::OUString::createFromAscii(pShortName); }
String GetModuleName() const;
SfxFilterContainer *GetFilterContainer( sal_Bool bForceLoad = sal_True) const;