summaryrefslogtreecommitdiff
path: root/forms/source
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source')
-rw-r--r--forms/source/component/clickableimage.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index a0ac4c07a4da..90518576a0f0 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -722,8 +722,7 @@ namespace frm
if (!rURL.isEmpty() && !::svt::GraphicAccess::isSupportedURL( rURL ) )
{
- if (m_pMedium)
- delete m_pMedium;
+ delete m_pMedium;
m_pMedium = new SfxMedium(rURL, STREAM_STD_READ);