From 60119035d8b8cf1f32cce97a4a4b9b181ba91cf8 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Sun, 20 Feb 2011 02:37:24 -0800 Subject: Pass removing some outdated C-macro use. (bzr r10059) --- src/conditions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conditions.cpp') 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) -- cgit v1.2.3