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.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx
index b24072714cb5..b58bee67cb88 100644
--- a/sc/qa/unit/helper/qahelper.cxx
+++ b/sc/qa/unit/helper/qahelper.cxx
@@ -290,7 +290,7 @@ void ScModelTestBase::goToCell(const OUString& rCell)
dispatchCommand(mxComponent, u".uno:GoToCell"_ustr, aArgs);
}
-void ScModelTestBase::typeString(const std::u16string_view& rStr)
+void ScModelTestBase::typeString(std::u16string_view rStr)
{
ScModelObj* pModelObj = comphelper::getFromUnoTunnel<ScModelObj>(mxComponent);
for (const char16_t c : rStr)
@@ -301,7 +301,7 @@ void ScModelTestBase::typeString(const std::u16string_view& rStr)
}
}
-void ScModelTestBase::insertStringToCell(const OUString& rCell, const std::u16string_view& rStr)
+void ScModelTestBase::insertStringToCell(const OUString& rCell, std::u16string_view rStr)
{
goToCell(rCell);
@@ -313,7 +313,7 @@ void ScModelTestBase::insertStringToCell(const OUString& rCell, const std::u16st
Scheduler::ProcessEventsToIdle();
}
-void ScModelTestBase::insertArrayToCell(const OUString& rCell, const std::u16string_view& rStr)
+void ScModelTestBase::insertArrayToCell(const OUString& rCell, std::u16string_view rStr)
{
goToCell(rCell);