summaryrefslogtreecommitdiffstats
path: root/src/conditions.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-05-03 16:58:35 +0000
committertavmjong-free <tavmjong@free.fr>2015-05-03 16:58:35 +0000
commita0ed5b5138836e368e409b9ced656f970b225b38 (patch)
tree330d36a8a4324fb73146c3e981acc2964abb4340 /src/conditions.cpp
parentfix crash when setting clip (diff)
downloadinkscape-a0ed5b5138836e368e409b9ced656f970b225b38.tar.gz
inkscape-a0ed5b5138836e368e409b9ced656f970b225b38.zip
First batch
(bzr r14095)
Diffstat (limited to 'src/conditions.cpp')
-rw-r--r--src/conditions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conditions.cpp b/src/conditions.cpp
index 9b233a74f..39ab16ba8 100644
--- a/src/conditions.cpp
+++ b/src/conditions.cpp
@@ -77,7 +77,7 @@ static gchar *preprocessLanguageCode(gchar *lngcode) {
static bool evaluateSystemLanguage(SPItem const *item, gchar const *value) {
if ( NULL == value )
return true;
-
+ std::cout << "evaluateSystemLanguage: " << value << std::endl;
std::set<Glib::ustring> language_codes;
gchar *str = NULL;
gchar **strlist = g_strsplit( value, ",", 0);
@@ -105,7 +105,7 @@ static bool evaluateSystemLanguage(SPItem const *item, gchar const *value) {
SPDocument *document = item->document;
Glib::ustring document_language = document->getLanguage();
-
+ std::cout << "language: |" << document_language << "|" << std::endl;
if (document_language.size() == 0)
return false;