diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-01 11:21:23 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-02 09:56:57 +0200 |
commit | 23a5be4d6d04944dcbbb06912c434eedd3719b3b (patch) | |
tree | be1df169015762fd162a9e54b248d1b4721bb19d /vcl/source/control | |
parent | 7153b25d4da845bfb309c75df48f9ea00ec70c47 (diff) |
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
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/imivctl.hxx | 2 | ||||
-rw-r--r-- | vcl/source/control/imivctl1.cxx | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/vcl/source/control/imivctl.hxx b/vcl/source/control/imivctl.hxx index c29068442728..f79e0100b1d2 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 a52a8634ff4b..3b26c6b7ff81 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 ); } |