diff options
| author | Ted Gould <ted@gould.cx> | 2007-10-30 19:29:49 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-10-30 19:29:49 +0000 |
| commit | fd60130e74661e020e46d954a56c63b4725c8f82 (patch) | |
| tree | ba7033640e6c03794ae2fc10b67f989284ecf902 /src/extension/execution-env.cpp | |
| parent | r16892@shi: ted | 2007-10-29 21:33:09 -0700 (diff) | |
| download | inkscape-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.cpp | 3 |
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; } |
