summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-02-15 14:22:55 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-02-18 21:18:28 +0000
commit6656f85e23e1638d41a772a46e2ad5dd2c4bfaec (patch)
treeca498f49df637e32d2a95a11bcfe4d9e936369c4 /src/live_effects
parentAdd descriptions and fixes to show disabled and rename dash to dashed stoke LPE (diff)
downloadinkscape-6656f85e23e1638d41a772a46e2ad5dd2c4bfaec.tar.gz
inkscape-6656f85e23e1638d41a772a46e2ad5dd2c4bfaec.zip
Fix compiling issues
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/effect.cpp6
-rw-r--r--src/live_effects/lpe-dashed-stroke.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 67a760d6f..ca166c0c2 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -25,7 +25,7 @@
#include "live_effects/lpe-constructgrid.h"
#include "live_effects/lpe-copy_rotate.h"
#include "live_effects/lpe-curvestitch.h"
-#include "live_effects/lpe-dash-stroke.h"
+#include "live_effects/lpe-dashed-stroke.h"
#include "live_effects/lpe-dynastroke.h"
#include "live_effects/lpe-ellipse_5pts.h"
#include "live_effects/lpe-envelope.h"
@@ -1059,8 +1059,8 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
case PTS2ELLIPSE:
neweffect = static_cast<Effect*> ( new LPEPts2Ellipse(lpeobj) );
break;
- case DASH_STROKE:
- neweffect = static_cast<Effect*> ( new LPEDashStroke(lpeobj) );
+ case DASHED_STROKE:
+ neweffect = static_cast<Effect*> ( new LPEDashedStroke(lpeobj) );
break;
default:
g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr);
diff --git a/src/live_effects/lpe-dashed-stroke.cpp b/src/live_effects/lpe-dashed-stroke.cpp
index b29b50b43..fcc38f9e4 100644
--- a/src/live_effects/lpe-dashed-stroke.cpp
+++ b/src/live_effects/lpe-dashed-stroke.cpp
@@ -2,7 +2,7 @@
/*
* Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
-#include "live_effects/lpe-dash-stroke.h"
+#include "live_effects/lpe-dashed-stroke.h"
#include "2geom/pathvector.h"
#include "2geom/path.h"
#include "helper/geom.h"