summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2001-08-06 13:02:04 +0000
committerArmin Weiss <aw@openoffice.org>2001-08-06 13:02:04 +0000
commit14750d3f2c758edc449ea4b06dc65cb56732b41b (patch)
treeb63710fa5fc5cbbcb214f2c8641a4e718e6986fc
parent15e61831c5e84968e071cffc70fd7e80fb415275 (diff)
#82826# for correct preview of outliner views
-rw-r--r--svx/source/svdraw/svdotext.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index bcf8550a74b2..b072105b2b86 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdotext.cxx,v $
*
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
- * last change: $Author: aw $ $Date: 2001-08-01 15:37:15 $
+ * last change: $Author: aw $ $Date: 2001-08-06 14:02:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1145,7 +1145,12 @@ FASTBOOL SdrTextObj::Paint(ExtOutputDevice& rXOut, const SdrPaintInfoRec& rInfoR
// - nicht mehr die Methode mit dem PaintRect verwenden
if (!bFitKorreg)
{
- rOutliner.Draw(pOutDev,aPaintRect);
+ // #82826# for correct preview of outliner views
+ // rOutliner.Draw(pOutDev,aPaintRect);
+ if(aPaintRect.Top() > aAnchorRect.Top())
+ rOutliner.Draw(pOutDev, aPaintRect);
+ else
+ rOutliner.Draw(pOutDev, aAnchorRect);
}
else
{