summaryrefslogtreecommitdiffstats
path: root/src/helper/geom.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-08-05 00:49:51 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-08-05 00:49:51 +0000
commit77dc5f1acd4a6b66b2d6fc5c81f7e5c61ef95785 (patch)
tree15c3b32afa8a124f69644c8bd279dd361680974e /src/helper/geom.cpp
parentWholesale cruft removal part 3 (diff)
downloadinkscape-77dc5f1acd4a6b66b2d6fc5c81f7e5c61ef95785.tar.gz
inkscape-77dc5f1acd4a6b66b2d6fc5c81f7e5c61ef95785.zip
Wholesale cruft removal part 4; fix crash when rendering guides
(bzr r9508.1.48)
Diffstat (limited to 'src/helper/geom.cpp')
-rw-r--r--src/helper/geom.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp
index c79cd829a..da5d09436 100644
--- a/src/helper/geom.cpp
+++ b/src/helper/geom.cpp
@@ -28,8 +28,6 @@
using Geom::X;
using Geom::Y;
-#define NR_HUGE 1e18
-
//#################################################################################
// BOUNDING BOX CALCULATIONS
@@ -423,7 +421,7 @@ pathv_matrix_point_bbox_wind_distance (Geom::PathVector const & pathv, Geom::Mat
{
if (pathv.empty()) {
if (wind) *wind = 0;
- if (dist) *dist = NR_HUGE;
+ if (dist) *dist = Geom::infinity();
return;
}