diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-21 12:53:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-21 13:53:26 +0200 |
commit | 2d9291b9433c9645b0870525211f74bfb1151555 (patch) | |
tree | 53cb623e805899ea01e4ee65fd7c5eac27dd1934 /unoidl/source/unoidl-write.cxx | |
parent | 9ac36f0ecba806b51e6d1cb4cf8d92fe062508f4 (diff) |
use more string_view in unoidl,codemaker
Change-Id: Ibc0624a662c98ef1308a3bb0c7c082935a89a25c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133252
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoidl/source/unoidl-write.cxx')
-rw-r--r-- | unoidl/source/unoidl-write.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/unoidl-write.cxx b/unoidl/source/unoidl-write.cxx index 5ddd98468359..dafca970c246 100644 --- a/unoidl/source/unoidl-write.cxx +++ b/unoidl/source/unoidl-write.cxx @@ -394,7 +394,7 @@ void mapEntities( std::map< OUString, Item >::iterator k(map2->find(id)); if (k == map2->end()) { rtl::Reference< unoidl::Entity > ent2( - manager->findEntity(t.copy(0, j - 1))); + manager->findEntity(t.subView(0, j - 1))); assert(ent2.is()); k = map2->insert(std::make_pair(id, Item(ent2))).first; } |