diff options
| author | root <root@jtx.marker.es> | 2013-03-17 04:32:48 +0000 |
|---|---|---|
| committer | root <root@jtx.marker.es> | 2013-03-17 04:32:48 +0000 |
| commit | 40e796d977e44a3b31c063af3ca841fb1daa81c6 (patch) | |
| tree | 18b117e449d25b286872fa90cc760d7ba4e80c78 /src/selection.cpp | |
| parent | widget working not compile (diff) | |
| parent | cppcheck (diff) | |
| download | inkscape-40e796d977e44a3b31c063af3ca841fb1daa81c6.tar.gz inkscape-40e796d977e44a3b31c063af3ca841fb1daa81c6.zip | |
Working in widgets
(bzr r11950.1.55)
Diffstat (limited to 'src/selection.cpp')
| -rw-r--r-- | src/selection.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/selection.cpp b/src/selection.cpp index 72f50137c..564f1fdd3 100644 --- a/src/selection.cpp +++ b/src/selection.cpp @@ -418,7 +418,6 @@ Geom::OptRect Selection::documentBounds(SPItem::BBoxType type) const // will be returned; this is also the case in SelTrans::centerRequest() boost::optional<Geom::Point> Selection::center() const { GSList *items = (GSList *) const_cast<Selection *>(this)->itemList(); - Geom::Point center; if (items) { SPItem *first = reinterpret_cast<SPItem*>(g_slist_last(items)->data); // from the first item in selection if (first->isCenterSet()) { // only if set explicitly |
