summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
authorSlagvi Public <JandotDarowskiattgmaildottcom>2013-09-20 14:48:10 +0000
committerSlagvi Public <JandotDarowskiattgmaildottcom>2013-09-20 14:48:10 +0000
commit18bc66ea42cb3e7ad8d2b77ba70bd06d1b88cc7c (patch)
tree9f80b03f3888dafb88e02c31a8142e372d21031a /src/file.cpp
parentFix Empty Page procedural template. (diff)
downloadinkscape-18bc66ea42cb3e7ad8d2b77ba70bd06d1b88cc7c.tar.gz
inkscape-18bc66ea42cb3e7ad8d2b77ba70bd06d1b88cc7c.zip
Change paths storage to std::string.
(bzr r12481.1.12)
Diffstat (limited to '')
-rw-r--r--src/file.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 12373a2e5..b6063e5cd 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -74,6 +74,8 @@
#include <glibmm/i18n.h>
#include <glibmm/miscutils.h>
+#include <string>
+
using Inkscape::DocumentUndo;
#ifdef WITH_GNOME_VFS
@@ -124,7 +126,7 @@ static void sp_file_add_recent(gchar const *uri)
/**
* Create a blank document and add it to the desktop
*/
-SPDesktop *sp_file_new(const Glib::ustring &templ)
+SPDesktop *sp_file_new(const std::string &templ)
{
SPDocument *doc = SPDocument::createNewDoc( !templ.empty() ? templ.c_str() : 0 , TRUE, true );
g_return_val_if_fail(doc != NULL, NULL);