Lines 68-73
Link Here
|
68 |
#include <cstdio> |
68 |
#include <cstdio> |
69 |
#include <drawinglayer/primitive2d/backgroundcolorprimitive2d.hxx> |
69 |
#include <drawinglayer/primitive2d/backgroundcolorprimitive2d.hxx> |
70 |
|
70 |
|
|
|
71 |
#include <toolkit/helper/vclunohelper.hxx> |
72 |
#include <vcl/window.hxx> |
73 |
|
71 |
////////////////////////////////////////////////////////////////////////////// |
74 |
////////////////////////////////////////////////////////////////////////////// |
72 |
|
75 |
|
73 |
using namespace com::sun::star; |
76 |
using namespace com::sun::star; |
Lines 369-374
Link Here
|
369 |
aOrigin.X() + basegfx::fround(aTopLeftPixel.getX()), |
372 |
aOrigin.X() + basegfx::fround(aTopLeftPixel.getX()), |
370 |
aOrigin.Y() + basegfx::fround(aTopLeftPixel.getY())); |
373 |
aOrigin.Y() + basegfx::fround(aTopLeftPixel.getY())); |
371 |
} |
374 |
} |
|
|
375 |
else if( xControlWindow.is() ) |
376 |
{ |
377 |
Window* pWin = VCLUnoHelper::GetWindow( rXControl->getPeer() ); |
378 |
if( pWin ) |
379 |
pWin->Invalidate(); |
380 |
} |
372 |
|
381 |
|
373 |
// restore original graphics |
382 |
// restore original graphics |
374 |
xControlView->setGraphics(xOriginalGraphics); |
383 |
xControlView->setGraphics(xOriginalGraphics); |