~slagvi/inkscape/templates

« back to all changes in this revision

Viewing changes to src/file.cpp

  • Committer: Slagvi Public
  • Date: 2013-09-20 14:48:10 UTC
  • Revision ID: slagvi_public_jan_dot_darowski_att_gmail_dott_com-20130920144810-z3tfk91xydqrw9ae
Change paths storage to std::string.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
#include <glibmm/i18n.h>
75
75
#include <glibmm/miscutils.h>
76
76
 
 
77
#include <string>
 
78
 
77
79
using Inkscape::DocumentUndo;
78
80
 
79
81
#ifdef WITH_GNOME_VFS
124
126
/**
125
127
 * Create a blank document and add it to the desktop
126
128
 */
127
 
SPDesktop *sp_file_new(const Glib::ustring &templ)
 
129
SPDesktop *sp_file_new(const std::string &templ)
128
130
{
129
131
    SPDocument *doc = SPDocument::createNewDoc( !templ.empty() ? templ.c_str() : 0 , TRUE, true );
130
132
    g_return_val_if_fail(doc != NULL, NULL);