summaryrefslogtreecommitdiffstats
path: root/src/extension/execution-env.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-10-30 19:29:49 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-10-30 19:29:49 +0000
commitfd60130e74661e020e46d954a56c63b4725c8f82 (patch)
treeba7033640e6c03794ae2fc10b67f989284ecf902 /src/extension/execution-env.cpp
parentr16892@shi: ted | 2007-10-29 21:33:09 -0700 (diff)
downloadinkscape-fd60130e74661e020e46d954a56c63b4725c8f82.tar.gz
inkscape-fd60130e74661e020e46d954a56c63b4725c8f82.zip
r16893@shi: ted | 2007-10-30 07:31:04 -0700
Wow, that wasn't as hard as I thought it would be. Changing away from SPDocument. Sounded like a good idea, but we need to be able to get selections in the document cache. (bzr r3979)
Diffstat (limited to 'src/extension/execution-env.cpp')
-rw-r--r--src/extension/execution-env.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp
index 21df42b9d..0dbb32b11 100644
--- a/src/extension/execution-env.cpp
+++ b/src/extension/execution-env.cpp
@@ -103,8 +103,7 @@ void
ExecutionEnv::genDocCache (void) {
if (_docCache == NULL) {
printf("Gen Doc Cache\n");
- SPDesktop * spdesktop = (SPDesktop *)_doc;
- Implementation::ImplementationDocumentCache * _docCache = _effect->get_imp()->newDocCache(_effect, spdesktop->doc());
+ Implementation::ImplementationDocumentCache * _docCache = _effect->get_imp()->newDocCache(_effect, _doc);
}
return;
}