diff options
author | sb <sb@openoffice.org> | 2010-07-02 11:44:44 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-07-02 11:44:44 +0200 |
commit | be654dc8132ca8683e37d8babec6550f8d060a0a (patch) | |
tree | 0e11ff4348fe63fd48757a22078fde0564937b47 /crashrep | |
parent | 392366336913af3ec6d85a9f7e6cf8432e242748 (diff) |
sb126: #i112871# missing parentheses around || within &&
Diffstat (limited to 'crashrep')
-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(); |