diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-08-17 22:14:22 +0200 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-19 06:04:40 +0000 |
commit | 9a1aca007fd06f3f8223ee02a79e44099d778b51 (patch) | |
tree | d924ea710e268085f54f9bf8d4d637d22a68e45b /dbaccess/qa | |
parent | f4004429d339009bec6babe30becdc9c727940b8 (diff) |
fdo#57950: Remove some chained appends in dbaccess
Change-Id: If93b4a11ac15ede2b08ef42bb2fa4670f0d4cd24
Reviewed-on: https://gerrit.libreoffice.org/5481
Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
Diffstat (limited to 'dbaccess/qa')
-rw-r--r-- | dbaccess/qa/extras/macros-test.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dbaccess/qa/extras/macros-test.cxx b/dbaccess/qa/extras/macros-test.cxx index cc0a437af2da..bcff5342f3d1 100644 --- a/dbaccess/qa/extras/macros-test.cxx +++ b/dbaccess/qa/extras/macros-test.cxx @@ -51,11 +51,7 @@ private: void DBAccessTest::createFileURL(const OUString& aFileBase, const OUString& aFileExtension, OUString& rFilePath) { - OUString aSep("/"); - OUStringBuffer aBuffer( getSrcRootURL() ); - aBuffer.append(m_aBaseString); - aBuffer.append(aSep).append(aFileBase).append(aFileExtension); - rFilePath = aBuffer.makeStringAndClear(); + rFilePath = getSrcRootURL() + m_aBaseString + "/" + aFileBase + aFileExtension; } DBAccessTest::DBAccessTest() |