diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:38 +0200 |
commit | 713843bebb27f09b5af9190cf84c57f6076e54aa (patch) | |
tree | 1936b003f3ca2a7daf84fa8349d44d801ff58cd5 /sw/source/filter/writer/writer.cxx | |
parent | 039913c383477e8ea1d62426df5cc30f6637ebfe (diff) |
loplugin:stringcopy: sw
Change-Id: I0a794e1d2a4b7e97133df0f7243817da7caaee1d
Diffstat (limited to 'sw/source/filter/writer/writer.cxx')
-rw-r--r-- | sw/source/filter/writer/writer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index 21935dabe1f6..ea80865358bd 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -330,7 +330,7 @@ bool Writer::CopyLocalFileToINet( OUString& rFileNm ) OUString aSrc = rFileNm; OUString aDest = aTargetUrl.GetPartBeforeLastName(); - aDest += OUString(aFileUrl.GetName()); + aDest += aFileUrl.GetName(); SfxMedium aSrcFile( aSrc, StreamMode::READ ); SfxMedium aDstFile( aDest, StreamMode::WRITE | StreamMode::SHARE_DENYNONE ); |