summaryrefslogtreecommitdiff
path: root/cppuhelper/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:26:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:26:29 +0100
commit71a6caf49b1805a5a9ff29fe8f928a4551aa616b (patch)
treedd2c8bf96c26d537ffedb32c5bc5f913192234d6 /cppuhelper/qa
parentf6e256c4825a6d7c9d7125a4100c10f8c4de750a (diff)
More loplugin:cstylecast: cppuhelper
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I3966d302241a52014aaad41f72924a2095ea6621
Diffstat (limited to 'cppuhelper/qa')
-rw-r--r--cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx
index 9110cc680476..2a4bc64ab703 100644
--- a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx
+++ b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx
@@ -115,8 +115,8 @@ namespace cppu_ifcontainer
aElements = pContainer->getElements();
CPPUNIT_ASSERT_MESSAGE("query contents",
- bool((int)aElements.getLength() == nTests));
- if ((int)aElements.getLength() == nTests)
+ bool(static_cast<int>(aElements.getLength()) == nTests));
+ if (static_cast<int>(aElements.getLength()) == nTests)
{
for (i = 0; i < nTests; i++)
{