summaryrefslogtreecommitdiff
path: root/crashrep/source/win32/soreport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'crashrep/source/win32/soreport.cxx')
-rw-r--r--crashrep/source/win32/soreport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/crashrep/source/win32/soreport.cxx b/crashrep/source/win32/soreport.cxx
index fc8886c542eb..e862dd3e82df 100644
--- a/crashrep/source/win32/soreport.cxx
+++ b/crashrep/source/win32/soreport.cxx
@@ -162,7 +162,7 @@ static BOOL GetCrashDataPath( LPTSTR szBuffer )
::rtl::OUString ustrValue(RTL_CONSTASCII_USTRINGPARAM("${$BRAND_BASE_DIR/program/bootstrap.ini:UserInstallation}"));
::rtl::Bootstrap::expandMacros( ustrValue );
- if ( ustrValue.getLength() )
+ if ( !ustrValue.isEmpty() )
{
ustrValue += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/user/crashdata"));