summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/emf-print.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2013-08-31 16:05:13 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2013-08-31 16:05:13 +0000
commit14f607efe6cb318756d74604c3cd6810799b5434 (patch)
treefd4eed3ffaeab8be48006e8c652f89fae21848ae /src/extension/internal/emf-print.cpp
parentMerge in pdf work by david bild, thanks David\! (diff)
downloadinkscape-14f607efe6cb318756d74604c3cd6810799b5434.tar.gz
inkscape-14f607efe6cb318756d74604c3cd6810799b5434.zip
Move libuemf to a separate directory.
Rename libunicode-convert to symbol_convert and put it in libuemf. (bzr r12490)
Diffstat (limited to 'src/extension/internal/emf-print.cpp')
-rw-r--r--src/extension/internal/emf-print.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/extension/internal/emf-print.cpp b/src/extension/internal/emf-print.cpp
index 33834bea8..1e9b0cd88 100644
--- a/src/extension/internal/emf-print.cpp
+++ b/src/extension/internal/emf-print.cpp
@@ -62,11 +62,8 @@
#include "emf-print.h"
-
#include <string.h>
-extern "C" {
-#include "libunicode-convert/unicode-convert.h"
-}
+#include <libuemf/symbol_convert.h>
namespace Inkscape {
@@ -2064,7 +2061,7 @@ unsigned int PrintEmf::text(Inkscape::Extension::Print * /*mod*/, char const *te
U_DEFAULT_QUALITY,
U_DEFAULT_PITCH | U_FF_DONTCARE,
wfacename);
- free(wfacename);
+ free(wfacename);
rec = extcreatefontindirectw_set(&hfont, eht, (char *) &lf, NULL);
if(!rec || emf_append((PU_ENHMETARECORD)rec, et, U_REC_FREE)){