diff options
author | Malte Timmermann <mt@openoffice.org> | 2001-03-09 12:11:44 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2001-03-09 12:11:44 +0000 |
commit | 6836fdd63ae11eceebfbb6303c5f4a6696a3a23d (patch) | |
tree | dea082215987db2caea4d2aa335b7937ed769e02 /svx/source | |
parent | 09c19005468cfaa6a8f9058f43710981ceec7659 (diff) |
removed paint problem for vertical writing
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/editeng/impedit3.cxx | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/svx/source/editeng/impedit3.cxx b/svx/source/editeng/impedit3.cxx index 82b11d83591d..bd1e286cd696 100644 --- a/svx/source/editeng/impedit3.cxx +++ b/svx/source/editeng/impedit3.cxx @@ -2,9 +2,9 @@ * * $RCSfile: impedit3.cxx,v $ * - * $Revision: 1.26 $ + * $Revision: 1.27 $ * - * last change: $Author: mt $ $Date: 2001-03-05 16:54:06 $ + * last change: $Author: mt $ $Date: 2001-03-09 13:11:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2607,8 +2607,17 @@ void ImpEditEngine::Paint( ImpEditView* pView, const Rectangle& rRec, sal_Bool b if ( bUseVirtDev ) { Rectangle aClipRecPixel( pOutWin->LogicToPixel( aClipRec ) ); - aClipRecPixel.Right() += 1; // falls abgerundet! - aClipRecPixel.Bottom() += 1; // falls abgerundet! + if ( !IsVertical() ) + { + // etwas mehr, falls abgerundet! + aClipRecPixel.Right() += 1; + aClipRecPixel.Bottom() += 1; + } + else + { + aClipRecPixel.Left() -= 1; + aClipRecPixel.Bottom() += 1; + } // Wenn aClipRecPixel > XXXX, dann invalidieren ?! |