summaryrefslogtreecommitdiff
path: root/uui/source/newerverwarn.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-19 22:05:49 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-19 22:07:59 -0200
commitc571e8777d15fd1c3f8730a7c1325d75c746333d (patch)
tree12d0cc47280c0a6235c5ba40744cb8560095672f /uui/source/newerverwarn.cxx
parent5738e07a78c5894d111ee6c6e0d07b56ff126b2c (diff)
Fix for fdo43460 Part XLIII getLength() to isEmpty()
Part XLIII Modules uui
Diffstat (limited to 'uui/source/newerverwarn.cxx')
-rw-r--r--uui/source/newerverwarn.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/newerverwarn.cxx b/uui/source/newerverwarn.cxx
index 2fd8be760818..d60c3d4ae3e4 100644
--- a/uui/source/newerverwarn.cxx
+++ b/uui/source/newerverwarn.cxx
@@ -101,7 +101,7 @@ IMPL_LINK( NewerVersionWarningDialog, UpdateHdl, PushButton*, EMPTYARG )
try
{
- if ( ( sNotifyURL.getLength() > 0 ) && ( m_sVersion.getLength() > 0 ) )
+ if ( !sNotifyURL.isEmpty() && !m_sVersion.isEmpty() )
{
uno::Reference< lang::XMultiServiceFactory > xSMGR =
::comphelper::getProcessServiceFactory();
@@ -110,7 +110,7 @@ IMPL_LINK( NewerVersionWarningDialog, UpdateHdl, PushButton*, EMPTYARG )
RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.system.SystemShellExecute" ) ) ),
uno::UNO_QUERY_THROW );
sNotifyURL += m_sVersion;
- if ( xSystemShell.is() && sNotifyURL.getLength() )
+ if ( xSystemShell.is() && !sNotifyURL.isEmpty() )
{
xSystemShell->execute(
sNotifyURL, ::rtl::OUString(), SystemShellExecuteFlags::DEFAULTS );