From 6dddefc6e7ff6dc5cde46dde069ba1d7db4ac34b Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 9 Mar 2013 21:47:17 +0100 Subject: fdo#43460: use isEmpty() Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6 --- crashrep/source/win32/soreport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crashrep') 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")); -- cgit