diff options
author | Andreas Martens <ama@openoffice.org> | 2002-01-22 10:55:39 +0000 |
---|---|---|
committer | Andreas Martens <ama@openoffice.org> | 2002-01-22 10:55:39 +0000 |
commit | 24c37b0e7fac087d3379d3865b50da3836fdc74c (patch) | |
tree | 36292f1204a214908c2306630151f222edbf127a /sw/source | |
parent | 828574118209df2d1e57c5e3e66485b3c42adf3b (diff) |
Chg #96678#: Display changes in vertical environment
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 1ad7c84ddf9a..ae2994907550 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -2,9 +2,9 @@ * * $RCSfile: paintfrm.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: ama $ $Date: 2002-01-21 09:51:16 $ + * last change: $Author: ama $ $Date: 2002-01-22 11:55:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1632,8 +1632,15 @@ void SwRootFrm::Paint( const SwRect& rRect ) const if ( bExtraData ) { //Ja, das ist grob, aber wie macht man es besser? +#ifdef VERTICAL_LAYOUT + SWRECTFN( pPage ) + (aPaintRect.*fnRect->fnSetLeftAndWidth)( + (pPage->Frm().*fnRect->fnGetLeft)(), + (pPage->Frm().*fnRect->fnGetWidth)() ); +#else aPaintRect.Left( pPage->Frm().Left() ); aPaintRect.Right( pPage->Frm().Right() ); +#endif aPaintRect._Intersection( pSh->VisArea() ); } |