summaryrefslogtreecommitdiff
path: root/crashrep
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-10-04 17:07:14 +0200
committersb <sb@openoffice.org>2010-10-04 17:07:14 +0200
commita77fe39fbb7551a87f7798c6857ae72bdba2ff3c (patch)
treecb39e69a747958711b33122bbb348d0f9652f3a9 /crashrep
parent0aa94e999fe32557c15f0caf1bda5a7f216e142f (diff)
parent365999b26e80d5b1fb68eb5c075f044cbd8b4d01 (diff)
sb132: merged in DEV300_m89
Diffstat (limited to 'crashrep')
-rwxr-xr-xcrashrep/source/unx/main.cxx4
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();