diff --git a/src/live_effects/parameter/path-reference.cpp b/src/live_effects/parameter/path-reference.cpp
index 6a48f446b236c5140733de55b1b756948e6c1cdc..a76fb1b32edbdfd65764eb0381439fbc5d5ed5c2 100644 (file)
-/*\r
- * The reference corresponding to href of LPE Path parameter.\r
- *\r
- * Copyright (C) 2008 Johan Engelen\r
- *\r
- * Released under GNU GPL, read the file 'COPYING' for more information.\r
- */\r
-\r
-#include "live_effects/parameter/path-reference.h"\r
-\r
-#include <cstring>\r
-#include <string>\r
-#include <string.h>\r
-\r
-#include "enums.h"\r
-\r
-#include "display/curve.h"\r
-#include "livarot/Path.h"\r
-#include "prefs-utils.h"\r
-#include "sp-shape.h"\r
-#include "sp-text.h"\r
-#include "uri.h"\r
-\r
-namespace Inkscape {\r
-namespace LivePathEffect {\r
-\r
-bool PathReference::_acceptObject(SPObject * const obj) const\r
-{\r
- if (SP_IS_SHAPE(obj) || SP_IS_TEXT(obj)) {\r
- /* Refuse references to lpeobject */\r
- if (obj == getOwner()) {\r
- return false;\r
- }\r
- // TODO: check whether the referred path has this LPE applied, if so: deny deny deny!\r
- return true;\r
- } else {\r
- return false;\r
- }\r
-}\r
-\r
-} // namespace LivePathEffect\r
-} // namespace Inkscape\r
-\r
-/*\r
- Local Variables:\r
- mode:c++\r
- c-file-style:"stroustrup"\r
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))\r
- indent-tabs-mode:nil\r
- fill-column:99\r
- End:\r
-*/\r
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :\r
+/*
+ * The reference corresponding to href of LPE Path parameter.
+ *
+ * Copyright (C) 2008 Johan Engelen
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information.
+ */
+
+#include "live_effects/parameter/path-reference.h"
+
+#include "sp-shape.h"
+#include "sp-text.h"
+
+namespace Inkscape {
+namespace LivePathEffect {
+
+bool PathReference::_acceptObject(SPObject * const obj) const
+{
+ if (SP_IS_SHAPE(obj) || SP_IS_TEXT(obj)) {
+ /* Refuse references to lpeobject */
+ if (obj == getOwner()) {
+ return false;
+ }
+ // TODO: check whether the referred path has this LPE applied, if so: deny deny deny!
+ return true;
+ } else {
+ return false;
+ }
+}
+
+} // namespace LivePathEffect
+} // namespace Inkscape
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :