summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-29 09:29:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-29 12:56:28 +0200
commitca145c7364509cfdabb76472b503a2a5842c2b60 (patch)
treea0226891fbb69d876c808d1cc31860cde501023f /sal
parent0bebf37bac076a56801ef7d1c113f729b12b9f46 (diff)
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')
-rw-r--r--sal/qa/osl/file/osl_File.cxx2
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