vcl: remove commented out code
The original code was from 2001, in commitaed8f7e445: // in der Detailsview muss das Invalidieren intelligenter erfolgen //if( !(nWinBits & WB_DETAILS )) pView->Invalidate( INVALIDATE_NOCHILDREN ); This was later translated in commit25d571fff3. 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:
committed by
Michael Weghorn
parent
1d3806f5ae
commit
1d98bf6caa
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user