summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-22 22:12:38 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-22 22:12:38 +0000
commit3596bc1ed8b2e35aa77a736b7ae186869b215156 (patch)
treeb7bc7bba04e294c8f94b88752960502f9ddeb0f2 /src
parentremove obsolete LoadArtBPath from livarot (diff)
downloadinkscape-3596bc1ed8b2e35aa77a736b7ae186869b215156.tar.gz
inkscape-3596bc1ed8b2e35aa77a736b7ae186869b215156.zip
LPE Spiro: don't catch all exceptions, only the ContinuityError
(bzr r6019)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-spiro.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-spiro.cpp b/src/live_effects/lpe-spiro.cpp
index 6c3b71af4..0ffe6a7f4 100644
--- a/src/live_effects/lpe-spiro.cpp
+++ b/src/live_effects/lpe-spiro.cpp
@@ -207,7 +207,7 @@ LPESpiro::doEffect(SPCurve * curve)
try {
curve->get_pathvector() * Geom::identity(); // tests for continuity, this makes LPE Spiro slower of course :-(
}
- catch (std::exception & e) {
+ catch (Geom::ContinuityError & e) {
g_warning("Exception during LPE Spiro execution. \n %s", e.what());
SP_ACTIVE_DESKTOP->messageStack()->flash( Inkscape::WARNING_MESSAGE,
_("An exception occurred during execution of the Spiro Path Effect.") );