summaryrefslogtreecommitdiff
path: root/sw/source/core/text/frmpaint.cxx
diff options
context:
space:
mode:
authorFrank Meies <fme@openoffice.org>2002-02-14 13:28:49 +0000
committerFrank Meies <fme@openoffice.org>2002-02-14 13:28:49 +0000
commit84fb323e70e54909ccd7ea63b3af14afe0ccf3ee (patch)
tree8d6134c4cb4b40d4989a6da653cb2501045d2c53 /sw/source/core/text/frmpaint.cxx
parent2eb686d8fb65d018fb6ecb9052621bae63b65b74 (diff)
#96678# Vertical Formatting - Hidden paragraph
Diffstat (limited to 'sw/source/core/text/frmpaint.cxx')
-rw-r--r--sw/source/core/text/frmpaint.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx
index 51511f75c8ec..4ad9375624a4 100644
--- a/sw/source/core/text/frmpaint.cxx
+++ b/sw/source/core/text/frmpaint.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: frmpaint.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: fme $ $Date: 2002-02-07 11:18:13 $
+ * last change: $Author: fme $ $Date: 2002-02-14 14:28:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -670,8 +670,7 @@ void SwTxtFrm::Paint(const SwRect &rRect ) const
DBTXTFRM << "Paint()" << endl;
#endif
#ifdef VERTICAL_LAYOUT
- if( IsLocked() || IsHiddenNow() ||
- IsVertical() ? ! Prt().Width() : !Prt().Height() )
+ if( IsLocked() || IsHiddenNow() || ! Prt().HasArea() )
return;
#else
if( IsLocked() || IsHiddenNow() || !Prt().Height() )