[Libreoffice-commits] .: autodoc/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Jun 14 08:53:00 PDT 2011


 autodoc/source/ary_i/kernel/d_token.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit c71cf20b074e93f01a5093d6ae886eeb14facd23
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jun 14 15:51:46 2011 +0100

    WaE: simple-minded windows compiler warning

diff --git a/autodoc/source/ary_i/kernel/d_token.cxx b/autodoc/source/ary_i/kernel/d_token.cxx
index d98fc84..c209972 100644
--- a/autodoc/source/ary_i/kernel/d_token.cxx
+++ b/autodoc/source/ary_i/kernel/d_token.cxx
@@ -60,9 +60,8 @@ DT_TextToken::DisplayAt( DocumentationDisplay & o_rDisplay ) const
 bool
 DT_TextToken::IsWhiteOnly() const
 {
-    for ( const char * it = sText.c_str();
-          static_cast<UINT8>(*it) > 32;
-          ++it )
+    const char *it = sText.c_str();
+    while (static_cast<UINT8>(*it++) > 32)
     {
         return false;
     }


More information about the Libreoffice-commits mailing list