summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2023-11-29 14:38:49 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2023-11-29 18:02:06 +0100
commitcb7dc5a0cf0f9199873d8eea012b4fd69f3a9af7 (patch)
tree0d67afa5f0a66db61dece35c8016ce753731730e /svx/source
parente35d67b4901b6c1a74d0fb5d452a6bea8dc58e66 (diff)
Extended loplugin:ostr: svx
Change-Id: Ia3ff6c27bdb4c59fa20c976c4ca4cdee12f1c91c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160100 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdmrkv.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index d13291726258..b0784449f159 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -1073,7 +1073,7 @@ void SdrMarkView::SetMarkHandlesForLOKit(tools::Rectangle const & rRect, const S
responseJSON.add_child("kinds", nodes);
std::stringstream aStream;
boost::property_tree::write_json(aStream, responseJSON, /*pretty=*/ false);
- handleArrayStr = ", \"handles\":";
+ handleArrayStr = ", \"handles\":"_ostr;
handleArrayStr = handleArrayStr + aStream.str().c_str();
if (bConnectorSelection)
{
@@ -1120,8 +1120,8 @@ void SdrMarkView::SetMarkHandlesForLOKit(tools::Rectangle const & rRect, const S
if (sSelectionText.isEmpty())
{
- sSelectionText = "EMPTY";
- sSelectionTextView = "EMPTY";
+ sSelectionText = "EMPTY"_ostr;
+ sSelectionTextView = "EMPTY"_ostr;
if (!pOtherShell)
pViewShell->NotifyOtherViews(LOK_CALLBACK_TEXT_VIEW_SELECTION, "selection"_ostr, OString());
}