diff options
| author | Martin Owens <doctormo@gmail.com> | 2014-01-26 17:19:47 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2014-01-26 17:19:47 +0000 |
| commit | 7455f1a259ce28ee56866b5cde06e79be4cfaf97 (patch) | |
| tree | 5c10c6096fac9f5ff169abbc32133bc3b3dc1094 /src/document.h | |
| parent | A partial refactor of sp-image.cpp, expect more. (diff) | |
| download | inkscape-7455f1a259ce28ee56866b5cde06e79be4cfaf97.tar.gz inkscape-7455f1a259ce28ee56866b5cde06e79be4cfaf97.zip | |
Check file existance and clean up memory issues thanks to KK and Johan
(bzr r12979)
Diffstat (limited to 'src/document.h')
| -rw-r--r-- | src/document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.h b/src/document.h index 110db11c6..e5567d3b6 100644 --- a/src/document.h +++ b/src/document.h @@ -225,7 +225,7 @@ public: static SPDocument *createNewDoc(const gchar *uri, unsigned int keepalive, bool make_new = false, SPDocument *parent=NULL ); static SPDocument *createNewDocFromMem(const gchar *buffer, gint length, unsigned int keepalive); - SPDocument *createChildDoc(std::string const uri); + SPDocument *createChildDoc(std::string const &uri); /** * Returns the bottommost item from the list which is at the point, or NULL if none. |
