summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 47db1d2)
raw | patch | inline | side by side (parent: 47db1d2)
author | scislac <scislac@users.sourceforge.net> | |
Thu, 7 May 2009 01:22:33 +0000 (01:22 +0000) | ||
committer | scislac <scislac@users.sourceforge.net> | |
Thu, 7 May 2009 01:22:33 +0000 (01:22 +0000) |
src/extension/internal/bitmap/imagemagick.cpp | patch | blob | history | |
src/libnr/nr-object.cpp | patch | blob | history |
diff --git a/src/extension/internal/bitmap/imagemagick.cpp b/src/extension/internal/bitmap/imagemagick.cpp
index 402e0c973863087f62dd0ccff7ae18cc4bc2c056..f86d0ec42feeccd2b844ac6635b1b98272084bb1 100644 (file)
char *search = (char *) g_strndup(xlink, 30);
if (strstr(search, "base64") != (char*)NULL) {
// 7 = strlen("base64") + strlen(",")
- char* pureBase64 = strstr(xlink, "base64") + 7;
+ const char* pureBase64 = strstr(xlink, "base64") + 7;
Magick::Blob blob;
blob.base64(pureBase64);
image->read(blob);
index 7ecdd75c3e6f5f0953b2b75ee7fd2d25d80f859b..d92052d10666c784bf9184d02f59050649b255ae 100644 (file)
--- a/src/libnr/nr-object.cpp
+++ b/src/libnr/nr-object.cpp
);
memset(object, 0xf0, c->isize);
- object->klass = c;
c->cpp_ctor(object);
+ object->klass = c;
nr_class_tree_object_invoke_init (c, object);
return object;