summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-11 14:10:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-11 16:57:08 +0200
commita892669ec2887f5e51c403b3a9710d9191909443 (patch)
treee634d8619b5041ab128b0f4096000368607d8070 /forms
parent318d5bf2a3d70300268c778074919fa908a0dcee (diff)
USE_REGISTER_TRANSFER is never defined
and each branch of the ifdef is the same anyway Change-Id: Iebffb0120915f6f7f735a37dc84f3f9bc6fd76ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93966 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/clickableimage.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index a78b1908fc65..68861e42cf30 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -752,7 +752,6 @@ namespace frm
SfxObjectShell *pObjSh = GetObjectShell();
- #ifdef USE_REGISTER_TRANSFER
if( pObjSh )
{
// Transfer target frame, so that javascript: URLs
@@ -761,16 +760,6 @@ namespace frm
if( pShMedium )
m_pMedium->SetLoadTargetFrame(pShMedium->GetLoadTargetFrame());
}
- #else
- if( pObjSh )
- {
- // Transfer target frame, so that javascript: URLs
- // can also be "loaded"
- const SfxMedium *pShMedium = pObjSh->GetMedium();
- if( pShMedium )
- m_pMedium->SetLoadTargetFrame(pShMedium->GetLoadTargetFrame());
- }
- #endif
m_bProdStarted = false;