summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-23 17:23:52 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 09:30:05 +0200
commit4779373d47341258cec36cc2178dff6ae11e5750 (patch)
tree686d3b2c2b8ed2a33c75af7a1a89d7fd9c935b2d /cui
parentconvert include/sfx2/macropg.hxx from String to OUString (diff)
downloadcore-4779373d47341258cec36cc2178dff6ae11e5750.tar.gz
core-4779373d47341258cec36cc2178dff6ae11e5750.zip
convert includes/sfx2/lnkbase.hxx from String to OUString
Change-Id: I3816ec77dd334823100421dab90d4bc8b67542e3
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/linkdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx
index 299d04cc612e..98d2560973d9 100644
--- a/cui/source/dialogs/linkdlg.cxx
+++ b/cui/source/dialogs/linkdlg.cxx
@@ -401,7 +401,7 @@ IMPL_LINK( SvBaseLinksDlg, ChangeSourceClickHdl, PushButton *, pPushButton )
{
sal_uInt16 nPos;
SvBaseLink* pLink = GetSelEntry( &nPos );
- if ( pLink && (pLink->GetLinkSourceName().Len() != 0) )
+ if ( pLink && !pLink->GetLinkSourceName().isEmpty() )
pLink->Edit( this, LINK( this, SvBaseLinksDlg, EndEditHdl ) );
}
return 0;