summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit3.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 454f65286416..9576d079574f 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -383,8 +383,7 @@ void ImpEditEngine::FormatDoc()
if ( rParaPortion.MustRepaint() || ( rParaPortion.IsInvalid() && rParaPortion.IsVisible() ) )
{
// No formatting should be necessary for MustRepaint()!
- if ( ( rParaPortion.MustRepaint() && !rParaPortion.IsInvalid() )
- || CreateLines( nPara, nY ) )
+ if ( !rParaPortion.IsInvalid() || CreateLines( nPara, nY ) )
{
if ( !bGrow && GetTextRanger() )
{