diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp
index 842f10d521db01666d5a00f4b879c2da511ddce1..4ee838708dc7e75440c591e1c32de814d8a0eed5 100644 (file)
--- a/src/ui/clipboard.cpp
+++ b/src/ui/clipboard.cpp
#include "text-context.h"
#include "text-editing.h"
#include "tools-switch.h"
+#include "live_effects/n-art-bpath-2geom.h"
/// @brief Made up mimetype to represent Gdk::Pixbuf clipboard contents
#define CLIPBOARD_GDK_PIXBUF_TARGET "image/x-gdk-pixbuf"
void ClipboardManagerImpl::copyPathParameter(Inkscape::LivePathEffect::PathParam *pp)
{
if ( pp == NULL ) return;
- gchar *svgd = pp->param_writeSVGValue();
+ gchar *svgd = SVGD_from_2GeomPath( pp->get_pathvector() );
if ( svgd == NULL || *svgd == '\0' ) return;
_discardInternalClipboard();