summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/gridwin5.cxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-08-27 08:20:24 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-08-27 14:40:36 +0200
commit423d16487b6d8bc048f546017da3b8274bc289cf (patch)
tree72177a5c84d02d5f6335e3ea68f05dfc4f55166a /sc/source/ui/view/gridwin5.cxx
parent3005c107f356ead72d18b5136361e75d82ab1dff (diff)
Remove duplicated sc imagemap functions
Change-Id: Ie1001abb5b57e73fece9f028041e683143a7008b Reviewed-on: https://gerrit.libreoffice.org/78162 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc/source/ui/view/gridwin5.cxx')
-rw-r--r--sc/source/ui/view/gridwin5.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx
index 9ea948a86b54..198543e5ffcb 100644
--- a/sc/source/ui/view/gridwin5.cxx
+++ b/sc/source/ui/view/gridwin5.cxx
@@ -22,6 +22,7 @@
#include <svx/fmpage.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdpagv.hxx>
+#include <svx/ImageMapInfo.hxx>
#include <vcl/imapobj.hxx>
#include <vcl/help.hxx>
#include <tools/urlobj.hxx>
@@ -254,11 +255,11 @@ void ScGridWindow::RequestHelp(const HelpEvent& rHEvt)
if ( eHit != SdrHitKind::NONE && aVEvt.pObj != nullptr )
{
// URL for IMapObject below Pointer is help text
- if ( ScDrawLayer::GetIMapInfo( aVEvt.pObj ) )
+ if ( SvxIMapInfo::GetIMapInfo( aVEvt.pObj ) )
{
Point aLogicPos = PixelToLogic( aPosPixel );
- IMapObject* pIMapObj = ScDrawLayer::GetHitIMapObject(
- aVEvt.pObj, aLogicPos, *this );
+ IMapObject* pIMapObj = SvxIMapInfo::GetHitIMapObject(
+ aVEvt.pObj, aLogicPos, this );
if ( pIMapObj )
{