diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-03 09:09:22 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-04 06:31:32 +0200 |
commit | 11169e6b29cbe7d782a6236d2a866b07b7501417 (patch) | |
tree | f7208a1a0dbf28951f8b1a68fe9239327ed946ef /vcl | |
parent | 1bffb064a0fbffebd2e33e3b6fdfdbc17b310489 (diff) |
tdf#161853 icon choice ctrl: Drop WB_SMART_ARRANGE handling
That flag is unused since `OApplicationIconControl`
was ported away from using `SvtIconChoiceCtrl` in
commit fd2ea8e03510c6a99ec8be6228b7422f6c5b182b
Date: Wed Aug 19 14:59:33 2020 +0100
weld OApplicationSwapWindow
, so drop it.
Change-Id: I0c6f191017b13fffee57d1e5eba1c03c05736ee2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169904
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/imivctl1.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/vcl/source/control/imivctl1.cxx b/vcl/source/control/imivctl1.cxx index e8864d4b4a97..230102619cb4 100644 --- a/vcl/source/control/imivctl1.cxx +++ b/vcl/source/control/imivctl1.cxx @@ -428,12 +428,6 @@ void SvxIconChoiceCtrl_Impl::Arrange( bool bKeepPredecessors, tools::Long nSetMa void SvxIconChoiceCtrl_Impl::ImpArrange( bool bKeepPredecessors ) { - static const Point aEmptyPoint; - - bool bOldUpdate = bUpdateMode; - tools::Rectangle aCurOutputArea( GetOutputRect() ); - if( (nWinBits & WB_SMART_ARRANGE) && aCurOutputArea.TopLeft() != aEmptyPoint ) - bUpdateMode = false; aAutoArrangeIdle.Stop(); nFlags |= IconChoiceFlags::Arranging; ShowCursor( false ); @@ -448,11 +442,6 @@ void SvxIconChoiceCtrl_Impl::ImpArrange( bool bKeepPredecessors ) //if( !(nWinBits & WB_DETAILS )) pView->Invalidate( InvalidateFlags::NoChildren ); nFlags &= ~IconChoiceFlags::Arranging; - if( (nWinBits & WB_SMART_ARRANGE) && aCurOutputArea.TopLeft() != aEmptyPoint ) - { - MakeVisible( aCurOutputArea ); - SetUpdateMode( bOldUpdate ); - } ShowCursor( true ); } |