summaryrefslogtreecommitdiff
path: root/unoidl/source/unoidl-read.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-04-21 21:09:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-22 13:27:56 +0200
commit9820f11ad2b1ef32e5527eec519b0a7c766e2602 (patch)
tree2ffa9a42bed16ab9a790d78b8f42a76996fdbe01 /unoidl/source/unoidl-read.cxx
parente4d1731ba3e8bac2801d1b76cfb66bf7f9795468 (diff)
address review comments on "use more string in unoidl.."
on commit 2d9291b9433c9645b0870525211f74bfb1151555 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Thu Apr 21 12:53:15 2022 +0200 use more string_view in unoidl,codemaker Primarily reverting the findEntity call-chain to use OUString instead of std::u16string_view. Change-Id: Ib01b9473c859bba3791563df753823bbf0a87ce0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133302 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoidl/source/unoidl-read.cxx')
-rw-r--r--unoidl/source/unoidl-read.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/unoidl-read.cxx b/unoidl/source/unoidl-read.cxx
index 794bd0b473e7..706fe7f3d64c 100644
--- a/unoidl/source/unoidl-read.cxx
+++ b/unoidl/source/unoidl-read.cxx
@@ -103,7 +103,7 @@ std::u16string_view decomposeType(
do {
++i; // skip '<' or ','
size_t j = i;
- for (sal_Int32 level = 0; j != nucl.size(); ++j) {
+ for (size_t level = 0; j != nucl.size(); ++j) {
sal_Unicode c = nucl[j];
if (c == ',') {
if (level == 0) {