summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-04-27 22:11:01 +0200
committerTor Lillqvist <tml@collabora.com>2021-04-28 09:39:12 +0200
commit2a33a16253d4f7c6ef989cc3a65ef5bd552ac48b (patch)
tree70a18c6806af39e911c9d812663424f123d3f70e /sc
parent41ff704cc49b7097b717882616011962ecd7198f (diff)
loplugin:stringadd
Change-Id: Iacb72f10f5306143390774e0a3ef30f5a5bf5c57 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114761 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/helper/qahelper.cxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx
index ed13b7058786..4091a75ef6dd 100644
--- a/sc/qa/unit/helper/qahelper.cxx
+++ b/sc/qa/unit/helper/qahelper.cxx
@@ -657,16 +657,22 @@ void ScBootstrapFixture::createFileURL(
void ScBootstrapFixture::createCSVPath(const char* aFileBase, OUString& rCSVPath)
{
OUStringBuffer aBuffer( m_directories.getSrcRootPath());
- aBuffer.append(EnsureSeparator(aBuffer)).append(m_aBaseString);
- aBuffer.append(EnsureSeparator(aBuffer)).append("contentCSV/").appendAscii(aFileBase).append("csv");
+ aBuffer.append(EnsureSeparator(aBuffer));
+ aBuffer.append(m_aBaseString);
+ aBuffer.append(EnsureSeparator(aBuffer));
+ aBuffer.append("contentCSV/").appendAscii(aFileBase).append("csv");
rCSVPath = aBuffer.makeStringAndClear();
}
void ScBootstrapFixture::createCSVPath(std::u16string_view aFileBase, OUString& rCSVPath)
{
OUStringBuffer aBuffer( m_directories.getSrcRootPath());
- aBuffer.append(EnsureSeparator(aBuffer)).append(m_aBaseString);
- aBuffer.append(EnsureSeparator(aBuffer)).append("contentCSV/").append(aFileBase).append("csv");
+ aBuffer.append(EnsureSeparator(aBuffer));
+ aBuffer.append(m_aBaseString);
+ aBuffer.append(EnsureSeparator(aBuffer));
+ aBuffer.append("contentCSV/");
+ aBuffer.append(aFileBase);
+ aBuffer.append("csv");
rCSVPath = aBuffer.makeStringAndClear();
}