summaryrefslogtreecommitdiff
path: root/sc/qa/unit/helper/qahelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/unit/helper/qahelper.cxx')
-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();
}