From kde-commits Sun Jul 30 16:34:51 2006 From: Thomas Zander Date: Sun, 30 Jul 2006 16:34:51 +0000 To: kde-commits Subject: branches/koffice/1.6/koffice/lib/kotext Message-Id: <1154277291.197926.7933.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=115427733414046 SVN commit 567937 by zander: make more readable M +1 -1 KoTextParag.cpp --- branches/koffice/1.6/koffice/lib/kotext/KoTextParag.cpp #567936:567937 @@ -2706,7 +2706,7 @@ QCharRef ch = text[r]; // check for space, tab, line feed, carriage return - if ( ch == 0x0020 || ch == 0x0009 ||ch == 0x000A || ch == 0x000D) + if ( ch == ' ' || ch == '\t' ||ch == '\r' || ch == '\n') { // if we were lead by whitespace in some parent or previous sibling element, // we completely collapse this space