diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2015-04-29 22:29:17 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <mc@M0nst3r.bouyguesbox.fr> | 2015-04-29 22:29:17 +0000 |
| commit | c848ff33a5f3fd7eabfe83604bb42bb5e705c0b4 (patch) | |
| tree | 14d943d39ea2a0591430e731356a114de38feb5d /src/selection.cpp | |
| parent | uint -> unsigned int (diff) | |
| download | inkscape-c848ff33a5f3fd7eabfe83604bb42bb5e705c0b4.tar.gz inkscape-c848ff33a5f3fd7eabfe83604bb42bb5e705c0b4.zip | |
unsigned int -> size_t
(bzr r14076)
Diffstat (limited to '')
| -rw-r--r-- | src/selection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selection.cpp b/src/selection.cpp index 017089ec5..53772c381 100644 --- a/src/selection.cpp +++ b/src/selection.cpp @@ -513,7 +513,7 @@ SPObject *Selection::_objectForXMLNode(Inkscape::XML::Node *repr) const { return object; } -unsigned int Selection::numberOfLayers() { +size_t Selection::numberOfLayers() { std::vector<SPItem*> const items = const_cast<Selection *>(this)->itemList(); std::set<SPObject*> layers; for ( std::vector<SPItem*>::const_iterator iter=items.begin();iter!=items.end();iter++ ) { @@ -523,7 +523,7 @@ unsigned int Selection::numberOfLayers() { return layers.size(); } -guint Selection::numberOfParents() { +size_t Selection::numberOfParents() { std::vector<SPItem*> const items = const_cast<Selection *>(this)->itemList(); std::set<SPObject*> parents; for ( std::vector<SPItem*>::const_iterator iter=items.begin();iter!=items.end();iter++ ) { |
