summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-rough-hatches.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-rough-hatches.cpp')
-rw-r--r--src/live_effects/lpe-rough-hatches.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/live_effects/lpe-rough-hatches.cpp b/src/live_effects/lpe-rough-hatches.cpp
index 671d88a8b..8324271ed 100644
--- a/src/live_effects/lpe-rough-hatches.cpp
+++ b/src/live_effects/lpe-rough-hatches.cpp
@@ -31,7 +31,6 @@
#include <2geom/affine.h>
#include "ui/widget/scalar.h"
-#include "libnr/nr-values.h"
namespace Inkscape {
namespace LivePathEffect {
@@ -557,7 +556,7 @@ LPERoughHatches::resetDefaults(SPItem * item)
{
Effect::resetDefaults(item);
- Geom::OptRect bbox = item->getBounds(Geom::identity(), SPItem::GEOMETRIC_BBOX);
+ Geom::OptRect bbox = item->geometricBounds();
Geom::Point origin(0.,0.);
Geom::Point vector(50.,0.);
if (bbox) {