summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/editeng/impedit2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index eda0c2c0f374..bd3ad15d81a3 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -673,7 +673,7 @@ void ImpEditEngine::SetText(const OUString& rText)
tools::Rectangle aTmpRect( pView->GetOutputArea().TopLeft(),
Size( aPaperSize.Width(), nCurTextHeight ) );
aTmpRect.Intersection( pView->GetOutputArea() );
- pView->GetWindow()->Invalidate( aTmpRect );
+ pView->InvalidateWindow( aTmpRect );
}
}
if (rText.isEmpty()) { // otherwise it must be invalidated later, !bFormatted is enough.