summaryrefslogtreecommitdiffstats
path: root/src/conditions.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-02-20 10:37:24 +0000
committerJon A. Cruz <jon@joncruz.org>2011-02-20 10:37:24 +0000
commit60119035d8b8cf1f32cce97a4a4b9b181ba91cf8 (patch)
tree8550482cf2bd66a77d3266e2b0135aa685eb6ce5 /src/conditions.cpp
parentFix the zoom changed signal to no longer be sent out before the values have f... (diff)
downloadinkscape-60119035d8b8cf1f32cce97a4a4b9b181ba91cf8.tar.gz
inkscape-60119035d8b8cf1f32cce97a4a4b9b181ba91cf8.zip
Pass removing some outdated C-macro use.
(bzr r10059)
Diffstat (limited to 'src/conditions.cpp')
-rw-r--r--src/conditions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conditions.cpp b/src/conditions.cpp
index d35f18cf1..21218831a 100644
--- a/src/conditions.cpp
+++ b/src/conditions.cpp
@@ -103,7 +103,7 @@ static bool evaluateSystemLanguage(SPItem const *item, gchar const *value) {
if (language_codes.empty())
return false;
- SPDocument *document = SP_OBJECT_DOCUMENT(item);
+ SPDocument *document = item->document;
Glib::ustring document_language = document->getLanguage();
if (document_language.size() == 0)