diff options
Diffstat (limited to 'basctl/source/dlged/dlged.cxx')
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index 0e36883665c0..b82b5915c43e 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -472,8 +472,7 @@ void DlgEditor::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle aPaintRect = rRect; mnPaintGuard++; - Size aMacSize; - if (bFirstDraw && rWindow.IsVisible() && (rRenderContext.GetOutputSize() != aMacSize)) + if (bFirstDraw && rWindow.IsVisible() && (rRenderContext.GetOutputSize() != Size())) { bFirstDraw = false; |