Revert "tdf#63130 when getting the size, do not do a full paint"

because it is triggering many CppunitTest_toolkit_a11y failures

This reverts commit 67c3b3becab2aa2b9522e3a092d46bfe507c3101.

ImplCallResize is not called on the same Window after that
commit than it was originally called on.

Change-Id: I0c3721d2674067ac7f0bf765e0fe1097b1d67dbf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152026
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index a38cc54..659ae60 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -2415,11 +2415,7 @@ Size Window::GetSizePixel() const
    {
        VclPtr<vcl::Window> xWindow( const_cast<Window*>(this) );
        mpWindowImpl->mpFrameData->maResizeIdle.Stop();
        // This is a copy of the code inside the resize Idle callback
        // __except__ that we are not calling the paint idle callback
        // which we don't want to do here, to avoid double work.
        if( mpWindowImpl->mbReallyVisible )
            xWindow->ImplCallResize();
        mpWindowImpl->mpFrameData->maResizeIdle.Invoke( nullptr );
        if( xWindow->isDisposed() )
            return Size(0,0);
    }