[Libreoffice-commits] core.git: include/basegfx
Julien Nabet
serval2412 at yahoo.fr
Sun Apr 10 06:49:06 UTC 2016
include/basegfx/range/b2dconnectedranges.hxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 79fc3337851994acf813dacd2a518ba408d37581
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Apr 10 08:11:39 2016 +0200
tdf#99176: Fix redundant condition
Change-Id: I76038b6d1358d0c5dbab76638c2cefc23f41366e
Reviewed-on: https://gerrit.libreoffice.org/23954
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/include/basegfx/range/b2dconnectedranges.hxx b/include/basegfx/range/b2dconnectedranges.hxx
index ae2c347..01008bc 100644
--- a/include/basegfx/range/b2dconnectedranges.hxx
+++ b/include/basegfx/range/b2dconnectedranges.hxx
@@ -198,8 +198,7 @@ namespace basegfx
OSL_ENSURE( !aNewConnectedComponent.maComponentList.empty(),
"B2DConnectedRanges::addRange(): empty aggregate list" );
OSL_ENSURE( !aNewConnectedComponent.maTotalBounds.isEmpty() ||
- (aNewConnectedComponent.maTotalBounds.isEmpty() &&
- aNewConnectedComponent.maComponentList.size() == 1),
+ aNewConnectedComponent.maComponentList.size() == 1,
"B2DConnectedRanges::addRange(): empty ranges must be solitary");
// add aNewConnectedComponent as a new entry to
More information about the Libreoffice-commits
mailing list