diff options
Diffstat (limited to 'sw/source/core/layout/layact.cxx')
-rw-r--r-- | sw/source/core/layout/layact.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx index 10d5cf065d3a..0ab451c111a0 100644 --- a/sw/source/core/layout/layact.cxx +++ b/sw/source/core/layout/layact.cxx @@ -2154,11 +2154,11 @@ void SwLayIdle::ShowIdle( Color eColor ) tools::Rectangle aRect( 0, 0, 5, 5 ); aRect = pWin->PixelToLogic( aRect ); // Depending on if idle layout is in progress or not, draw a "red square" or a "green square". - pWin->Push( PushFlags::FILLCOLOR|PushFlags::LINECOLOR ); - pWin->SetFillColor( eColor ); - pWin->SetLineColor(); - pWin->DrawRect( aRect ); - pWin->Pop(); + pWin->GetOutDev()->Push( PushFlags::FILLCOLOR|PushFlags::LINECOLOR ); + pWin->GetOutDev()->SetFillColor( eColor ); + pWin->GetOutDev()->SetLineColor(); + pWin->GetOutDev()->DrawRect( aRect ); + pWin->GetOutDev()->Pop(); } } #define SHOW_IDLE( Color ) ShowIdle( Color ) |