summaryrefslogtreecommitdiffstats
path: root/src/extension/implementation/implementation.h
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-02-27 00:01:23 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-05-09 19:42:11 +0000
commita45afbdbffb81b567de372741f1f08c70244dc53 (patch)
treeaab3282e4e7a75c5749c6343f4e05bd179944ccd /src/extension/implementation/implementation.h
parentfix https://gitlab.com/inkscape/inkscape/merge_requests/208#note_60694271 (diff)
downloadinkscape-a45afbdbffb81b567de372741f1f08c70244dc53.tar.gz
inkscape-a45afbdbffb81b567de372741f1f08c70244dc53.zip
fix compiling bugs
Diffstat (limited to 'src/extension/implementation/implementation.h')
-rw-r--r--src/extension/implementation/implementation.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/extension/implementation/implementation.h b/src/extension/implementation/implementation.h
index fa4a64725..5bb909ef2 100644
--- a/src/extension/implementation/implementation.h
+++ b/src/extension/implementation/implementation.h
@@ -56,22 +56,8 @@ class ImplementationDocumentCache {
*/
Inkscape::UI::View::View * _view;
public:
- ImplementationDocumentCache (Inkscape::UI::View::View * view) :
- _view(view)
- {
- SPDesktop *desktop = (SPDesktop*)view;
- Inkscape::Selection * selection = NULL;
- if (desktop) {
- selection = desktop->getSelection();
- if (selection && !selection->params.empty()) {
- selection->restoreBackup();
- if (!desktop->on_live_extension) {
- selection->emptyBackup();
- }
- }
- }
- return;
- };
+ ImplementationDocumentCache (Inkscape::UI::View::View * view);
+
virtual ~ImplementationDocumentCache ( ) { return; };
Inkscape::UI::View::View const * view ( ) { return _view; };
};