summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-02-07 11:55:24 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2019-02-11 07:07:30 +0100
commit121182bddbce8f14cccdf7db9af8c08867a0912f (patch)
treedbad1ab9b7a4a4ea0f5862ae1a8679aa117c8829 /reportdesign
parent6e8c9bdf0a55141d3cbd181862aec89b788bb060 (diff)
tdf#120703 PVS: V560 A part of conditional expression is always true/false
Change-Id: I67462369d93e9d9ff3c056800947c4b75f71ba5f Reviewed-on: https://gerrit.libreoffice.org/67486 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/misc/UITools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx
index 73b905528185..63e1a2469604 100644
--- a/reportdesign/source/ui/misc/UITools.cxx
+++ b/reportdesign/source/ui/misc/UITools.cxx
@@ -983,7 +983,7 @@ void correctOverlapping(SdrObject* _pControl,OReportSection const & _aReportSect
xComponent->setPositionY(aRect.Top());
}
}
- if ( !bOverlapping && _bInsert ) // now insert objects
+ if (_bInsert) // now insert objects
rSectionView.InsertObjectAtView(_pControl,*rSectionView.GetSdrPageView(), SdrInsertFlags::ADDMARK);
}