diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-16 17:29:07 -0200 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-12-20 19:28:37 +0400 |
commit | 1375183d465fb17db513dfe16ac522e48573a4c0 (patch) | |
tree | 149a5335e02bd92c33201cc49a4c85c390969e46 /cui/source/dialogs/hldocntp.cxx | |
parent | 170d75c3f58e500bda864bf7b7aeefd06716a0a6 (diff) |
Fix for fdo43460 Part XI getLength() to isEmpty()
Part XI
Module
cui
Diffstat (limited to 'cui/source/dialogs/hldocntp.cxx')
-rw-r--r-- | cui/source/dialogs/hldocntp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/hldocntp.cxx b/cui/source/dialogs/hldocntp.cxx index ae30fa0b5f4c..63d70f604ecb 100644 --- a/cui/source/dialogs/hldocntp.cxx +++ b/cui/source/dialogs/hldocntp.cxx @@ -204,7 +204,7 @@ void SvxHyperlinkNewDocTp::FillDocumentList () continue; // Insert into listbox - if ( aDocumentUrl.getLength() ) + if ( !aDocumentUrl.isEmpty() ) { if ( aDocumentUrl.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "private:factory/simpress?slot=6686" ) ) ) // SJ: #106216# do not start aDocumentUrl = String( RTL_CONSTASCII_USTRINGPARAM( "private:factory/simpress" ) ); // the AutoPilot for impress @@ -460,7 +460,7 @@ IMPL_LINK ( SvxHyperlinkNewDocTp, ClickNewHdl_Impl, void *, EMPTYARG ) INetURLObject aNewURL( aStrTmp ); - if( aStrName.Len() > 0 && aNewURL.getExtension().getLength() > 0 && + if( aStrName.Len() > 0 && !aNewURL.getExtension().isEmpty() && maLbDocTypes.GetSelectEntryPos() != LISTBOX_ENTRY_NOTFOUND ) { // get private-url |