diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-29 09:29:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-29 12:56:28 +0200 |
commit | ca145c7364509cfdabb76472b503a2a5842c2b60 (patch) | |
tree | a0226891fbb69d876c808d1cc31860cde501023f /sal/qa | |
parent | Revert "loplugin:stringcopy" (diff) | |
download | core-ca145c7364509cfdabb76472b503a2a5842c2b60.tar.gz core-ca145c7364509cfdabb76472b503a2a5842c2b60.zip |
remove some unnecessary OString constructor calls
Change-Id: I11358f17770cacb2a33011797f4be82dc02340b7
Reviewed-on: https://gerrit.libreoffice.org/38130
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/qa')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index b3edf385561f..6b9613c6c652 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -4938,7 +4938,7 @@ namespace osl_Directory #if !defined(_WIN32) && !defined(ANDROID) && !defined(AIX) // FIXME would be nice to create unique dir even on Windows - tmp_x += OString("XXXXXX"); + tmp_x += "XXXXXX"; char *out = mkdtemp(const_cast<char*>(tmp_x.getStr())); CPPUNIT_ASSERT_MESSAGE |