summaryrefslogtreecommitdiffstats
path: root/src/desktop-style.cpp
diff options
context:
space:
mode:
authorAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-06-25 20:24:26 +0000
committerAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-06-25 20:24:26 +0000
commit1636c1dd1651780d01759676b194312529f211f7 (patch)
tree6f44074639138c4af9e841ffb53c969244f5588e /src/desktop-style.cpp
parentMerged trunk (diff)
downloadinkscape-1636c1dd1651780d01759676b194312529f211f7.tar.gz
inkscape-1636c1dd1651780d01759676b194312529f211f7.zip
Moved next functions, added namespace, renamed range functions
(bzr r14954.1.10)
Diffstat (limited to 'src/desktop-style.cpp')
-rw-r--r--src/desktop-style.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp
index 7f9b46c7d..6fab01f16 100644
--- a/src/desktop-style.cpp
+++ b/src/desktop-style.cpp
@@ -194,7 +194,7 @@ sp_desktop_set_style(SPDesktop *desktop, SPCSSAttr *css, bool change, bool write
sp_repr_css_merge(css_write, css);
sp_css_attr_unset_uris(css_write);
prefs->mergeStyle("/desktop/style", css_write);
- std::vector<SPItem*> const itemlist = desktop->selection->itemList();
+ std::vector<SPItem*> const itemlist = desktop->selection->items();
for (std::vector<SPItem*>::const_iterator i = itemlist.begin(); i!= itemlist.end(); ++i) {
/* last used styles for 3D box faces are stored separately */
SPObject *obj = *i;
@@ -234,7 +234,7 @@ sp_desktop_set_style(SPDesktop *desktop, SPCSSAttr *css, bool change, bool write
sp_repr_css_merge(css_no_text, css);
css_no_text = sp_css_attr_unset_text(css_no_text);
- std::vector<SPItem*> const itemlist = desktop->selection->itemList();
+ std::vector<SPItem*> const itemlist = desktop->selection->items();
for (std::vector<SPItem*>::const_iterator i = itemlist.begin(); i!= itemlist.end(); ++i) {
SPItem *item = *i;
@@ -1917,7 +1917,7 @@ sp_desktop_query_style(SPDesktop *desktop, SPStyle *style, int property)
// otherwise, do querying and averaging over selection
if (desktop->selection != NULL) {
- return sp_desktop_query_style_from_list (desktop->selection->itemList(), style, property);
+ return sp_desktop_query_style_from_list (desktop->selection->items(), style, property);
}
return QUERY_STYLE_NOTHING;