summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2015-04-27 22:56:20 +0000
committerMarc Jeanmougin <mc@M0nst3r.bouyguesbox.fr>2015-04-27 22:56:20 +0000
commit4bd4a89e23064b6782728d7965b12443978dcd29 (patch)
treee67e9bca6beb97b182c3b914692a98c325c82d01
parentJust reread the entire diff against trunk. Given the diff size, i must have f... (diff)
downloadinkscape-4bd4a89e23064b6782728d7965b12443978dcd29.tar.gz
inkscape-4bd4a89e23064b6782728d7965b12443978dcd29.zip
removed a few "using Inkscape::Util::GSListConstIterator"
(bzr r13922.1.16)
-rw-r--r--src/extension/implementation/implementation.cpp1
-rw-r--r--src/extension/internal/bitmap/imagemagick.cpp2
-rw-r--r--src/extension/internal/bluredge.cpp1
-rw-r--r--src/extension/internal/grid.cpp2
-rw-r--r--src/removeoverlap.cpp1
-rw-r--r--src/ui/dialog/align-and-distribute.cpp5
-rw-r--r--src/ui/dialog/transformation.cpp1
7 files changed, 0 insertions, 13 deletions
diff --git a/src/extension/implementation/implementation.cpp b/src/extension/implementation/implementation.cpp
index 717ca3310..b0ff3e91c 100644
--- a/src/extension/implementation/implementation.cpp
+++ b/src/extension/implementation/implementation.cpp
@@ -47,7 +47,6 @@ Gtk::Widget *Implementation::prefs_effect(Inkscape::Extension::Effect *module, I
SPDocument * current_document = view->doc();
- using Inkscape::Util::GSListConstIterator;
std::vector<SPItem*> selected = ((SPDesktop *)view)->getSelection()->itemList();
Inkscape::XML::Node const* first_select = NULL;
if (!selected.empty()) {
diff --git a/src/extension/internal/bitmap/imagemagick.cpp b/src/extension/internal/bitmap/imagemagick.cpp
index 3a29b3dc0..5e4c930bc 100644
--- a/src/extension/internal/bitmap/imagemagick.cpp
+++ b/src/extension/internal/bitmap/imagemagick.cpp
@@ -240,8 +240,6 @@ ImageMagick::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::Vie
{
SPDocument * current_document = view->doc();
- using Inkscape::Util::GSListConstIterator;
-
std::vector<SPItem*> selected = ((SPDesktop *)view)->getSelection()->itemList();
Inkscape::XML::Node * first_select = NULL;
if (!selected.empty()) {
diff --git a/src/extension/internal/bluredge.cpp b/src/extension/internal/bluredge.cpp
index b80e5ddbb..9f19f8b3b 100644
--- a/src/extension/internal/bluredge.cpp
+++ b/src/extension/internal/bluredge.cpp
@@ -63,7 +63,6 @@ BlurEdge::effect (Inkscape::Extension::Effect *module, Inkscape::UI::View::View
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
double old_offset = prefs->getDouble("/options/defaultoffsetwidth/value", 1.0, "px");
- using Inkscape::Util::GSListConstIterator;
// TODO need to properly refcount the items, at least
std::vector<SPItem*> items(selection->itemList());
selection->clear();
diff --git a/src/extension/internal/grid.cpp b/src/extension/internal/grid.cpp
index 60d606a02..932d9a0d0 100644
--- a/src/extension/internal/grid.cpp
+++ b/src/extension/internal/grid.cpp
@@ -190,8 +190,6 @@ Grid::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View
{
SPDocument * current_document = view->doc();
- using Inkscape::Util::GSListConstIterator;
-
std::vector<SPItem*> selected = ((SPDesktop *)view)->getSelection()->itemList();
Inkscape::XML::Node * first_select = NULL;
if (!selected.empty()) {
diff --git a/src/removeoverlap.cpp b/src/removeoverlap.cpp
index 01ce2c47e..9ea75de0d 100644
--- a/src/removeoverlap.cpp
+++ b/src/removeoverlap.cpp
@@ -39,7 +39,6 @@ namespace {
* horizontally and yGap vertically
*/
void removeoverlap(std::vector<SPItem*> const &items, double const xGap, double const yGap) {
- using Inkscape::Util::GSListConstIterator;
std::vector<SPItem*> selected(items);
std::vector<Record> records;
std::vector<Rectangle *> rs;
diff --git a/src/ui/dialog/align-and-distribute.cpp b/src/ui/dialog/align-and-distribute.cpp
index 1ee72dcbc..882427912 100644
--- a/src/ui/dialog/align-and-distribute.cpp
+++ b/src/ui/dialog/align-and-distribute.cpp
@@ -97,7 +97,6 @@ void ActionAlign::do_action(SPDesktop *desktop, int index)
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
bool sel_as_group = prefs->getBool("/dialogs/align/sel-as-groups");
- using Inkscape::Util::GSListConstIterator;
std::vector<SPItem*> selected(selection->itemList());
if (selected.empty()) return;
@@ -250,7 +249,6 @@ private :
Inkscape::Selection *selection = desktop->getSelection();
if (!selection) return;
- using Inkscape::Util::GSListConstIterator;
std::vector<SPItem*> selected(selection->itemList());
if (selected.empty()) return;
@@ -548,7 +546,6 @@ private :
Inkscape::Selection *selection = desktop->getSelection();
if (!selection) return;
- using Inkscape::Util::GSListConstIterator;
std::vector<SPItem*> selected(selection->itemList());
if (selected.empty()) return;
@@ -646,7 +643,6 @@ private :
Inkscape::Selection *selection = desktop->getSelection();
if (!selection) return;
- using Inkscape::Util::GSListConstIterator;
std::vector<SPItem*> selected(selection->itemList());
if (selected.empty()) return;
@@ -745,7 +741,6 @@ private :
Inkscape::Selection *selection = desktop->getSelection();
if (!selection) return;
- using Inkscape::Util::GSListConstIterator;
std::vector<SPItem*> selected(selection->itemList());
if (selected.empty()) return;
diff --git a/src/ui/dialog/transformation.cpp b/src/ui/dialog/transformation.cpp
index 459e6e937..5bd3cb309 100644
--- a/src/ui/dialog/transformation.cpp
+++ b/src/ui/dialog/transformation.cpp
@@ -740,7 +740,6 @@ void Transformation::applyPageMove(Inkscape::Selection *selection)
if (_check_move_relative.get_active()) {
// shift each object relatively to the previous one
- using Inkscape::Util::GSListConstIterator;
std::vector<SPItem*> selected(selection->itemList());
if (selected.empty()) return;