summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotxed.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2002-09-13 14:07:04 +0000
committerArmin Weiss <aw@openoffice.org>2002-09-13 14:07:04 +0000
commita38f9eebe8ea6cc11a05984a4d04f409d9677fac (patch)
tree57f6648db81aca9dec3d32b1b42e4c6fdf37b6ca /svx/source/svdraw/svdotxed.cxx
parent765d0ea2ebf1ab3e80e063b6a39fbc3e6eb48030 (diff)
#97097# TakeTextRect(...) may only give FALSE as last parameter if it is used from HitTest
Diffstat (limited to 'svx/source/svdraw/svdotxed.cxx')
-rw-r--r--svx/source/svdraw/svdotxed.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdotxed.cxx b/svx/source/svdraw/svdotxed.cxx
index 81f14ec9a71b..dc1eeca732eb 100644
--- a/svx/source/svdraw/svdotxed.cxx
+++ b/svx/source/svdraw/svdotxed.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdotxed.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: thb $ $Date: 2002-06-12 14:20:33 $
+ * last change: $Author: aw $ $Date: 2002-09-13 15:07:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -150,7 +150,8 @@ FASTBOOL SdrTextObj::BegTextEdit(SdrOutliner& rOutl)
if (bFitToSize) {
Rectangle aAnchorRect;
Rectangle aTextRect;
- TakeTextRect(rOutl, aTextRect, FALSE, &aAnchorRect, FALSE);
+ TakeTextRect(rOutl, aTextRect, FALSE,
+ &aAnchorRect/* #97097# give TRUE here, not FALSE */);
Fraction aFitXKorreg(1,1);
ImpSetCharStretching(rOutl,aTextRect,aAnchorRect,aFitXKorreg);
}