diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-06-02 09:48:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-06-02 11:22:41 +0200 |
commit | beb19b0a600573cebc66c387f5941efc982ee842 (patch) | |
tree | 43a8707fbd03c82fef4f02c505069ed52948fe53 /comphelper | |
parent | 470bc862796a517090448ca18622eca22550a0e4 (diff) |
There should be no need for a cast here
...presumably added back in the day to avoid warnings about signed vs. unsigned
comparisons with old compiler versions
Change-Id: Id95e272949e48adf0e75883368cbcd421e289b33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135292
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/qa/container/comphelper_ifcontainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/qa/container/comphelper_ifcontainer.cxx b/comphelper/qa/container/comphelper_ifcontainer.cxx index ed92aa692f4e..db904e2fbaf6 100644 --- a/comphelper/qa/container/comphelper_ifcontainer.cxx +++ b/comphelper/qa/container/comphelper_ifcontainer.cxx @@ -114,7 +114,7 @@ namespace comphelper_ifcontainer CPPUNIT_ASSERT_EQUAL_MESSAGE("query contents", nTests, static_cast<int>(aElements.size())); - if (static_cast<int>(aElements.size()) == nTests) + if (aElements.size() == nTests) { for (i = 0; i < nTests; i++) { |