diff --git a/svtools/source/contnr/imivctl.hxx b/svtools/source/contnr/imivctl.hxx index 1684d2290836..5b8c816eb1f8 100644 --- a/svtools/source/contnr/imivctl.hxx +++ b/svtools/source/contnr/imivctl.hxx @@ -167,7 +167,6 @@ class SvxIconChoiceCtrl_Impl Size aImageSize; Size aDefaultTextSize; Size aOutputSize; // Pixel - Point aDDLastRectPos; VclPtr pView; IcnCursor_Impl* pImpCursor; IcnGridMap_Impl* pGridMap; diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index c1d96f4e8cc2..424b080ff213 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -2024,7 +2024,7 @@ void SvxIconChoiceCtrl_Impl::HideDDIcon() { Size aSize( pDDDev->GetOutputSizePixel() ); // restore pView - pView->DrawOutDev( aDDLastRectPos, aSize, Point(), aSize, *pDDDev ); + pView->DrawOutDev( Point(), aSize, Point(), aSize, *pDDDev ); } pDDBufDev = pDDDev; pDDDev = nullptr;