tdf#161853 vcl: Drop SvxIconChoiceCtrl_Impl::HideDDIcon

It's superfluous, as the only place calling it already calls
`pView->PaintImmediately();` manually right after that, which
is the same that `SvxIconChoiceCtrl_Impl::HideDDIcon` does.

Change-Id: I8bf6e27e598fc5070dd551e3152dcc4cad91f1f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169792
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
diff --git a/vcl/source/control/imivctl.hxx b/vcl/source/control/imivctl.hxx
index c290684..f79e010 100644
--- a/vcl/source/control/imivctl.hxx
+++ b/vcl/source/control/imivctl.hxx
@@ -357,8 +357,6 @@ public:
    void                Scroll( tools::Long nDeltaX, tools::Long nDeltaY );
    const Size&         GetItemSize( IcnViewFieldType ) const;

    void                HideDDIcon();

    static bool         IsOver(
                            std::vector<tools::Rectangle>* pSelectedRectList,
                            const tools::Rectangle& rEntryBoundRect
diff --git a/vcl/source/control/imivctl1.cxx b/vcl/source/control/imivctl1.cxx
index a52a863..3b26c6b 100644
--- a/vcl/source/control/imivctl1.cxx
+++ b/vcl/source/control/imivctl1.cxx
@@ -1793,12 +1793,6 @@ void SvxIconChoiceCtrl_Impl::ShowCursor( bool bShow )
    /*pView->*/ShowFocus( aRect );
}


void SvxIconChoiceCtrl_Impl::HideDDIcon()
{
    pView->PaintImmediately();
}

bool SvxIconChoiceCtrl_Impl::HandleScrollCommand( const CommandEvent& rCmd )
{
    tools::Rectangle aDocRect( Point(), aVirtOutputSize );
@@ -1966,7 +1960,6 @@ void SvxIconChoiceCtrl_Impl::MakeVisible( const tools::Rectangle& rRect, bool bS
    aOutputArea.SetPos( aOrigin );
    if( GetUpdateMode() )
    {
        HideDDIcon();
        pView->PaintImmediately();
        ShowCursor( false );
    }