summaryrefslogtreecommitdiff
path: root/sd/qa/unit
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-11-07 14:49:07 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 18:55:52 +0000
commit14301589d796b60eb219d52575ff89b629f67f26 (patch)
treedb26cab3d2377866aba114557974fbead28c8319 /sd/qa/unit
parentf9028f1945e3ad87cda1b3001611632b1b424467 (diff)
style fix for cppcheck redundantCondition
Change-Id: I5d02c6f4c6b411c23a6de43374884a76e1c408fe Reviewed-on: https://gerrit.libreoffice.org/30667 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/qa/unit')
-rw-r--r--sd/qa/unit/tiledrendering/tiledrendering.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index f930df8b310b..e3e48f778555 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -1235,7 +1235,7 @@ void SdTiledRenderingTest::testCreateViewTextCursor()
{
auto itVisibility = aView1.m_aViewCursorVisibilities.find(rInvalidation.first);
// For each cursor invalidation: if there is no visibility or the visibility is true, that's a problem.
- if (itVisibility == aView1.m_aViewCursorVisibilities.end() || (itVisibility != aView1.m_aViewCursorVisibilities.end() && itVisibility->second))
+ if (itVisibility == aView1.m_aViewCursorVisibilities.end() || itVisibility->second)
{
bFoundCursor = true;
break;