summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/fusel.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-06 14:22:10 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-07 07:37:38 -0200
commit49e11ffbe1cc04f2855b18acd501954d80901efa (patch)
tree20bfbbab637d13ea81e8c467b59189701fedf1e4 /sc/source/ui/drawfunc/fusel.cxx
parente4ce7225dd987f9b2f250f055d9688de79931444 (diff)
Fix for fdo43460 Part XXX getLength() to isEmpty()
Part XXX Modules sc
Diffstat (limited to 'sc/source/ui/drawfunc/fusel.cxx')
-rw-r--r--sc/source/ui/drawfunc/fusel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx
index ccd47d353632..eec1dee833b2 100644
--- a/sc/source/ui/drawfunc/fusel.cxx
+++ b/sc/source/ui/drawfunc/fusel.cxx
@@ -206,12 +206,12 @@ sal_Bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt)
ScMacroInfo* pInfo = ScDrawLayer::GetMacroInfo( pObj, true );
// For interoperability favour links over macros if both are defined
- if ( pInfo->GetHlink().getLength() > 0 )
+ if ( !pInfo->GetHlink().isEmpty() )
{
OSL_TRACE("** Got URL");
sURL = pInfo->GetHlink();
}
- else if ( pInfo->GetMacro().getLength() > 0 )
+ else if ( !pInfo->GetMacro().isEmpty() )
{
SfxObjectShell* pObjSh = SfxObjectShell::Current();
if ( pObjSh && SfxApplication::IsXScriptURL( pInfo->GetMacro() ) )