summaryrefslogtreecommitdiffstats
path: root/src/extension/input.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2009-08-06 14:17:17 +0000
committercilix42 <cilix42@users.sourceforge.net>2009-08-06 14:17:17 +0000
commit51c2905fd3e99955db2d823b79abb763d8097028 (patch)
tree90128509479f5498e1125d1e4eb9cdc05bf6b6e6 /src/extension/input.cpp
parentAdding one more control to Smart Jelly (diff)
downloadinkscape-51c2905fd3e99955db2d823b79abb763d8097028.tar.gz
inkscape-51c2905fd3e99955db2d823b79abb763d8097028.zip
Revert recent refactoring changes by johnce because they break the build, which cannot be fixed easily.
(bzr r8422)
Diffstat (limited to 'src/extension/input.cpp')
-rw-r--r--src/extension/input.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/input.cpp b/src/extension/input.cpp
index ca5fdc29f..689c1286f 100644
--- a/src/extension/input.cpp
+++ b/src/extension/input.cpp
@@ -145,7 +145,7 @@ Input::check (void)
Adobe Illustrator file can be transparent (not recommended, but
transparent). This is all done with undo being turned off.
*/
-Document *
+SPDocument *
Input::open (const gchar *uri)
{
if (!loaded()) {
@@ -156,7 +156,7 @@ Input::open (const gchar *uri)
}
timer->touch();
- Document *const doc = imp->open(this, uri);
+ SPDocument *const doc = imp->open(this, uri);
if (doc != NULL) {
Inkscape::XML::Node * repr = sp_document_repr_root(doc);
bool saved = sp_document_get_undo_sensitive(doc);