diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-07-21 18:51:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-22 11:13:45 +0200 |
commit | 42572c6d0d1f1c84b3774f6c790e28e8abc7b45a (patch) | |
tree | 1a831ccd9363c89292f96dc7554a0cfa5ca7141c /unoidl | |
parent | aa2067dda63852b0eb84d5c32497f5a28177bb1c (diff) |
elide some makeStringAndClear() calls
Change-Id: I3b7ae370b41638c0a67374d5132b7bdf56e7c672
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137311
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoidl')
-rw-r--r-- | unoidl/source/sourcetreeprovider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/sourcetreeprovider.cxx b/unoidl/source/sourcetreeprovider.cxx index 399329f30e40..629e50fbf8f3 100644 --- a/unoidl/source/sourcetreeprovider.cxx +++ b/unoidl/source/sourcetreeprovider.cxx @@ -284,7 +284,7 @@ rtl::Reference<Entity> SourceTreeProvider::findEntity(OUString const & name) throw FileFormatException( //TODO "", "Illegal UNOIDL identifier \"" + name + "\""); } - OUString uri(uri_ + buf.makeStringAndClear()); + OUString uri(uri_ + buf); rtl::Reference<Entity> ent; // Prevent conflicts between foo/ and Foo.idl on case-preserving file // systems: |