redraw problems seen on scroll in SvTreeListBox

SvTreeListBox::Invalidate override Control::Invalidate and additionally calls
Invalidate on its SvImpLBox pImpl which calls SetClipRegion on m_pView which is
the original SvTreeListBox, which is all very confusing, revert SvTreeListBox
to how it ~always was.

Change-Id: I03cf89e7ed7cf0069cc70d4250a3bb797e3487e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90745
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx
index 50672b2..bc40721 100644
--- a/vcl/source/treelist/svimpbox.cxx
+++ b/vcl/source/treelist/svimpbox.cxx
@@ -394,11 +394,13 @@ void SvImpLBox::PageDown( sal_uInt16 nDelta )
    ShowCursor( false );

    m_nFlags &= ~LBoxFlags::Filling;
    m_pView->Update();
    m_pStartEntry = pNext;

    if( nRealDelta >= m_nVisibleCount )
    {
        m_pView->Invalidate( GetVisibleArea() );
        m_pView->Update();
    }
    else
    {
@@ -430,10 +432,12 @@ void SvImpLBox::PageUp( sal_uInt16 nDelta )
    m_nFlags &= ~LBoxFlags::Filling;
    ShowCursor( false );

    m_pView->Update();
    m_pStartEntry = pPrev;
    if( nRealDelta >= m_nVisibleCount )
    {
        m_pView->Invalidate( GetVisibleArea() );
        m_pView->Update();
    }
    else
    {
@@ -3264,6 +3268,7 @@ IMPL_LINK(SvImpLBox, MyUserEvent, void*, pArg, void )
    if( !pArg )
    {
        m_pView->Invalidate();
        m_pView->Update();
    }
    else
    {