summaryrefslogtreecommitdiff
path: root/autodoc
diff options
context:
space:
mode:
Diffstat (limited to 'autodoc')
-rw-r--r--autodoc/source/ary_i/kernel/d_token.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/autodoc/source/ary_i/kernel/d_token.cxx b/autodoc/source/ary_i/kernel/d_token.cxx
index 6157614ef30a..f9810d0979a2 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;
}