summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-07-21 18:49:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-22 11:14:37 +0200
commite7903c01b112665a300350b7e86c2bf65f81b8a7 (patch)
treefe95ebf0f8e5ff232b1bc453129c2efa23905ca1 /sdext
parente7cc97d1e95fae3271fddafaa7a13bdf7c62b6ee (diff)
elide some makeStringAndClear() calls
Change-Id: I3b80d0f5b6d39c071242bc6ccc1e4333886c835d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137309 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfentries.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
index 6fba80f7029e..9c9a269d6098 100644
--- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
@@ -183,7 +183,7 @@ OUString PDFName::getFilteredName() const
else
aFilter.append( pStr[i] );
}
- return OStringToOUString( aFilter.makeStringAndClear(), RTL_TEXTENCODING_UTF8 );
+ return OStringToOUString( aFilter, RTL_TEXTENCODING_UTF8 );
}
PDFString::~PDFString()