~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/rubberband.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:
124
124
    _mode = mode;
125
125
}
126
126
 
127
 
boost::optional<Geom::Rect> Inkscape::Rubberband::getRectangle() const
 
127
Geom::OptRect Inkscape::Rubberband::getRectangle() const
128
128
{
129
129
    if (!_started) {
130
 
        return boost::optional<Geom::Rect>();
 
130
        return Geom::OptRect();
131
131
    }
132
132
 
133
133
    return Geom::Rect(_start, _end);