summaryrefslogtreecommitdiffstats
path: root/src/conditions.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-05-03 17:01:45 +0000
committertavmjong-free <tavmjong@free.fr>2015-05-03 17:01:45 +0000
commitc7ce360901e191572b207df27dd3e972bff3929f (patch)
tree89c1fd7b848b1f9d1fbc7d123df491426ad7e88f /src/conditions.cpp
parentFirst batch (diff)
downloadinkscape-c7ce360901e191572b207df27dd3e972bff3929f.tar.gz
inkscape-c7ce360901e191572b207df27dd3e972bff3929f.zip
Revert bad commit (commited to wrong branch).
(bzr r14096)
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 39ab16ba8..9b233a74f 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;