summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-25 11:22:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-23 09:59:26 +0200
commitc0fec0010213e4596b7d22e03b3bcd5fda9efb49 (patch)
tree38055c4c496741035a1f235899cc119267ff1004 /sw/source/ui/dbui
parentfb5a6fe80750c0c21e3987106889e2af99bb8e5c (diff)
elide some makeStringAndClear() calls
when we are passing the result to a string_view, it is pointless. Change-Id: If1a1edef1d450f57cdfd35fbc0dbce03898cc4ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134944 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/dbui')
-rw-r--r--sw/source/ui/dbui/createaddresslistdialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx
index a3276c72cedb..c436e533e101 100644
--- a/sw/source/ui/dbui/createaddresslistdialog.cxx
+++ b/sw/source/ui/dbui/createaddresslistdialog.cxx
@@ -409,7 +409,7 @@ void lcl_WriteValues(const std::vector<OUString> *pFields, SvStream* pStream)
sLine.append("\t\"" + *aIter + "\"");
}
}
- pStream->WriteByteStringLine( sLine.makeStringAndClear(), RTL_TEXTENCODING_UTF8 );
+ pStream->WriteByteStringLine( sLine, RTL_TEXTENCODING_UTF8 );
}
}