summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/fusel.cxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2021-08-05 11:02:39 +0200
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2021-08-05 12:50:51 +0200
commit3d75afe9cc89d4c00d224f08331ceaea21214e95 (patch)
tree92e5b462f2722e0126960523ab5013278a71d7d6 /sc/source/ui/drawfunc/fusel.cxx
parente3169a559505f911fb30580ed34ddfe0a36f2a17 (diff)
Use SdrObject::set/getHyperlink
Change-Id: I00e6962450689b2c0d215e52beb4e9d1524179d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120062 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
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 0e103948835f..f32249d4ff3e 100644
--- a/sc/source/ui/drawfunc/fusel.cxx
+++ b/sc/source/ui/drawfunc/fusel.cxx
@@ -167,9 +167,9 @@ 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().isEmpty() )
+ if ( !pObj->getHyperlink().isEmpty() )
{
- sURL = pInfo->GetHlink();
+ sURL = pObj->getHyperlink();
}
else if ( !pInfo->GetMacro().isEmpty() )
{