summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appopen.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-19 17:17:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-19 17:17:18 +0200
commite2bb12f8888af0b6dad58ad0acfd071df01f6655 (patch)
treeee6d1048acd0b47005dd7a7f65a8d7edc797313b /sfx2/source/appl/appopen.cxx
parentc8b19bdd2a2f3658e158bae44d4b472497591f85 (diff)
loplugin:stringcopy: sfx2
Change-Id: I9aa713a0839993fae202fc81431eb937d0604cb7
Diffstat (limited to 'sfx2/source/appl/appopen.cxx')
-rw-r--r--sfx2/source/appl/appopen.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index ca6901737e27..6d9f275f80bc 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -390,7 +390,7 @@ sal_uIntPtr SfxApplication::LoadTemplate( SfxObjectShellLock& xDoc, const OUStri
sal_Int32 nLength = aArgs.getLength();
aArgs.realloc( nLength + 1 );
aArgs[nLength].Name = "Title";
- aArgs[nLength].Value <<= OUString( xDoc->GetTitle( SFX_TITLE_DETECT ) );
+ aArgs[nLength].Value <<= xDoc->GetTitle( SFX_TITLE_DETECT );
xModel->attachResource( OUString(), aArgs );
delete pNew;
}