diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-09-28 17:07:12 +0200 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-09-28 17:07:12 +0200 |
commit | 76ce927a891e8dd3ba9ccd33bfdce0451102755b (patch) | |
tree | 4aca1430842338435c77db3118f1c9222a9d4b9b | |
parent | 9210e442de76add2aaf8c0a47c9c6ce92b318224 (diff) | |
parent | c1564dee677efe040ca70a168836f340700cb966 (diff) |
CWS-TOOLING: integrate CWS sb126
-rwxr-xr-x | crashrep/source/unx/main.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx index afdba0afeebc..7579de78ec94 100755 --- a/crashrep/source/unx/main.cxx +++ b/crashrep/source/unx/main.cxx @@ -129,12 +129,12 @@ static string trim_string( const string& rString ) { string temp = rString; - while ( temp.length() && temp[0] == ' ' || temp[0] == '\t' ) + while ( temp.length() && (temp[0] == ' ' || temp[0] == '\t') ) temp.erase( 0, 1 ); string::size_type len = temp.length(); - while ( len && temp[len-1] == ' ' || temp[len-1] == '\t' ) + while ( len && (temp[len-1] == ' ' || temp[len-1] == '\t') ) { temp.erase( len - 1, 1 ); len = temp.length(); |