summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edfcol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-07-21 18:51:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-22 11:14:20 +0200
commite7cc97d1e95fae3271fddafaa7a13bdf7c62b6ee (patch)
tree3e08490f733e153f03c2a3bea4c2ff5b4e74a7c2 /sw/source/core/edit/edfcol.cxx
parent42572c6d0d1f1c84b3774f6c790e28e8abc7b45a (diff)
elide some makeStringAndClear() calls
Change-Id: I58541cc3e0ec45a2f8127e1e14f4912a1295c740 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137312 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/edit/edfcol.cxx')
-rw-r--r--sw/source/core/edit/edfcol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx
index 4d7f80d6d3d1..8dc1610a597a 100644
--- a/sw/source/core/edit/edfcol.cxx
+++ b/sw/source/core/edit/edfcol.cxx
@@ -1789,7 +1789,7 @@ void SwEditShell::SignParagraph()
if (!signing.Sign(sigBuf))
return;
- const OUString signature = OStringToOUString(sigBuf.makeStringAndClear(), RTL_TEXTENCODING_UTF8, 0);
+ const OUString signature = OStringToOUString(sigBuf, RTL_TEXTENCODING_UTF8, 0);
auto it = std::find_if(std::as_const(aProperties).begin(), std::as_const(aProperties).end(), [](const beans::PropertyValue& rValue)
{