summaryrefslogtreecommitdiff
path: root/sfx2/source/doc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-07-02 13:56:53 +0200
committerMichael Stahl <mstahl@redhat.com>2013-07-02 14:01:19 +0200
commitfb3778b2a26d693d56c750fcf081117cc440cf07 (patch)
treed489f1cd65bb3ddbe6cd3075cffa3bf8d087433b /sfx2/source/doc
parent23326c48274dc64a53ef142edc8bc551ea6c15eb (diff)
... fix more -Werror=address (wrong TempFile ctor called)
Change-Id: I19b2195a5e524f8c485f904989f1c604fca9612f
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r--sfx2/source/doc/docfile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index f35d49ee0ff6..1643872c5393 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -3642,7 +3642,7 @@ OUString SfxMedium::SwitchDocumentToTempFile()
OUString const aExt = (nPrefixLen == -1)
? OUString()
: aOrigURL.copy(nPrefixLen);
- OUString aNewURL = ::utl::TempFile( String(), &aExt ).GetURL();
+ OUString aNewURL = ::utl::TempFile( OUString(), &aExt ).GetURL();
// TODO/LATER: In future the aLogicName should be set to shared folder URL
// and a temporary file should be created. Transport_Impl should be impossible then.