~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/extension/internal/grid.cpp

  • Committer: Ted Gould
  • Date: 2008-11-21 05:24:08 UTC
  • Revision ID: ted@canonical.com-20081121052408-tilucis2pjrrpzxx
MergeĀ fromĀ fe-moved

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        bounding_area = Geom::Rect(  Geom::Point(0,0),
86
86
                                     Geom::Point(sp_document_width(doc), sp_document_height(doc))  );
87
87
    } else {
88
 
        boost::optional<Geom::Rect> bounds = selection->bounds();
 
88
        Geom::OptRect bounds = selection->bounds();
89
89
        if (bounds) {
90
90
            bounding_area = *bounds;
91
91
        }