summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/svdraw/svdopath.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx
index c1ff60b573cd..dd4b02e4bb8b 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -1659,6 +1659,9 @@ static tools::Rectangle lcl_ImpGetBoundRect(const basegfx::B2DPolyPolygon& rPoly
{
basegfx::B2DRange aRange(basegfx::utils::getRange(rPolyPolygon));
+ if (aRange.isEmpty())
+ return tools::Rectangle();
+
return tools::Rectangle(
FRound(aRange.getMinX()), FRound(aRange.getMinY()),
FRound(aRange.getMaxX()), FRound(aRange.getMaxY()));
>2014-04-06whitespace cleanup in testMarkus Mohrhard 2014-04-03make the tolerance file optionalMarkus Mohrhard 2014-02-18coverity#738915 Uninitialized scalar fieldCaolán McNamara 2013-12-20typo fixesAndras Timar 2013-05-14Improve error messages for the xml-diff based unit tests.Jan Holesovsky 2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks 2013-03-18fix other problems found by WundefLuboš Luňák 2012-11-29Improve error messageStephan Bergmann 2012-07-13test: move XMLDiff implementation details to cxx fileMichael Stahl 2012-05-01rework callcatcher makefile to build subsequentcheck testsCaolán McNamara 2012-04-27add tolerance to chart regression testMarkus Mohrhard 2012-04-27use the correct macroMarkus Mohrhard 2012-04-27improve assert messagesMarkus Mohrhard 2012-04-27use the new xml diff in chart regression testMarkus Mohrhard 2012-04-26std::isnan is c++11; use rtl::math::isNan for nowMarkus Mohrhard 2012-04-26add readme for xmldiffMarkus Mohrhard 2012-04-26add xml diff with toleranceMarkus Mohrhard