vcl: remove commented out code

The original code was from 2001, in commit aed8f7e445:

    // in der Detailsview muss das Invalidieren intelligenter erfolgen
    //if( !(nWinBits & WB_DETAILS ))
        pView->Invalidate( INVALIDATE_NOCHILDREN );

This was later translated in commit 25d571fff3.

The reason for the comment is now lost in the mists of time...

Change-Id: I91ea3d2e918ee73ed8d017ca15c6cbbeb00e791f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179208
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
This commit is contained in:
Christopher Sherlock
2025-02-26 17:30:06 +01:00
committed by Michael Weghorn
parent 1d3806f5ae
commit 1d98bf6caa
-2
View File
@@ -327,8 +327,6 @@ void SvxIconChoiceCtrl_Impl::ImpArrange()
SetOrigin( Point() );
VisRectChanged();
RecalcAllBoundingRectsSmart();
// TODO: the invalidation in the detail view should be more intelligent
//if( !(nWinBits & WB_DETAILS ))
pView->Invalidate( InvalidateFlags::NoChildren );
nFlags &= ~IconChoiceFlags::Arranging;
ShowCursor( true );