summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/hlmarkwn.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-16 17:29:07 -0200
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-12-20 19:28:37 +0400
commit1375183d465fb17db513dfe16ac522e48573a4c0 (patch)
tree149a5335e02bd92c33201cc49a4c85c390969e46 /cui/source/dialogs/hlmarkwn.cxx
parent170d75c3f58e500bda864bf7b7aeefd06716a0a6 (diff)
Fix for fdo43460 Part XI getLength() to isEmpty()
Part XI Module cui
Diffstat (limited to 'cui/source/dialogs/hlmarkwn.cxx')
-rw-r--r--cui/source/dialogs/hlmarkwn.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx
index e2f666a1e7cb..0e2bdc053456 100644
--- a/cui/source/dialogs/hlmarkwn.cxx
+++ b/cui/source/dialogs/hlmarkwn.cxx
@@ -262,7 +262,7 @@ sal_Bool SvxHlinkDlgMarkWnd::RefreshFromDoc( OUString aURL )
{
uno::Reference< lang::XComponent > xComp;
- if( aURL.getLength() )
+ if( !aURL.isEmpty() )
{
// load from url
uno::Reference< frame::XComponentLoader > xLoader( xDesktop, uno::UNO_QUERY );
@@ -303,12 +303,12 @@ sal_Bool SvxHlinkDlgMarkWnd::RefreshFromDoc( OUString aURL )
else
mnError = LERR_DOCNOTOPEN;
- if ( aURL.getLength() )
+ if ( !aURL.isEmpty() )
xComp->dispose();
}
else
{
- if( aURL.getLength() )
+ if( !aURL.isEmpty() )
mnError=LERR_DOCNOTOPEN;
}
}