diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-11-29 00:37:30 +0000 |
|---|---|---|
| committer | John Smith <john.smith7545@yahoo.com> | 2012-11-29 00:37:30 +0000 |
| commit | 32598fdd4d1e85228e46242d37f83c739591a078 (patch) | |
| tree | 1ceb6e7e072e5be58bb917655eea9610b0e2104e /src/display | |
| parent | Fix for 171466 : F/S set swatch preview column name (diff) | |
| download | inkscape-32598fdd4d1e85228e46242d37f83c739591a078.tar.gz inkscape-32598fdd4d1e85228e46242d37f83c739591a078.zip | |
Fix for 1073128 : Command line PNG export fails if FeFlood filter primitive is present
(bzr r11913)
Diffstat (limited to 'src/display')
| -rw-r--r-- | src/display/nr-filter-primitive.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/display/nr-filter-primitive.cpp b/src/display/nr-filter-primitive.cpp index 93c6d4d6e..ce562668a 100644 --- a/src/display/nr-filter-primitive.cpp +++ b/src/display/nr-filter-primitive.cpp @@ -111,8 +111,7 @@ Geom::Rect FilterPrimitive::filter_primitive_area(FilterUnits const &units) // This is definitely a hack... but what else to do? // Current viewport might not be document viewport... but how to find? - SPDesktop* desktop = inkscape_active_desktop(); - SPDocument* document = sp_desktop_document(desktop); + SPDocument* document = inkscape_active_document(); SPRoot* root = document->getRoot(); Geom::Rect viewport; if( root->viewBox_set ) { |
