diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-12-21 20:51:24 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-12-21 20:51:24 +0000 |
| commit | 9ae37e8df1124ebd67e3d6dc24429d03919144ea (patch) | |
| tree | 773ea0331099093fd8fae8f5448fae973bcf5a63 /src/ui/dialog/spellcheck.cpp | |
| parent | Purge sp_desktop_main (diff) | |
| download | inkscape-9ae37e8df1124ebd67e3d6dc24429d03919144ea.tar.gz inkscape-9ae37e8df1124ebd67e3d6dc24429d03919144ea.zip | |
Purge sp_desktop_sketch and sp_desktop_tempgroup
(bzr r13816)
Diffstat (limited to 'src/ui/dialog/spellcheck.cpp')
| -rw-r--r-- | src/ui/dialog/spellcheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/spellcheck.cpp b/src/ui/dialog/spellcheck.cpp index 9faa8a2cb..e42b58966 100644 --- a/src/ui/dialog/spellcheck.cpp +++ b/src/ui/dialog/spellcheck.cpp @@ -612,7 +612,7 @@ SpellCheck::nextWord() area.expandBy(MAX(0.05 * mindim, 1)); // create canvas path rectangle, red stroke - SPCanvasItem *rect = sp_canvas_bpath_new(sp_desktop_sketch(desktop), NULL); + SPCanvasItem *rect = sp_canvas_bpath_new(desktop->getSketch(), NULL); sp_canvas_bpath_set_stroke(SP_CANVAS_BPATH(rect), 0xff0000ff, 3.0, SP_STROKE_LINEJOIN_MITER, SP_STROKE_LINECAP_BUTT); sp_canvas_bpath_set_fill(SP_CANVAS_BPATH(rect), 0, SP_WIND_RULE_NONZERO); SPCurve *curve = new SPCurve(); |
