summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-08-19 22:25:42 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-08-19 22:25:42 +0000
commit84c67db8ae42655c469f9abb61d1e790cc72d4d8 (patch)
treed60569c54abe8ce0a6f17605d278abefe1b40d24 /svx
parentc259bcc4f3cb9d473d1de06582e792182ce09b5a (diff)
INTEGRATION: CWS aw033 (1.21.58); FILE MERGED
2008/07/21 18:29:39 aw 1.21.58.1: #i39532# changed aOutRect and bBoundRectValid
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdotxed.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdotxed.cxx b/svx/source/svdraw/svdotxed.cxx
index b4cbb8f5436a..42645bc9aecb 100644
--- a/svx/source/svdraw/svdotxed.cxx
+++ b/svx/source/svdraw/svdotxed.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svdotxed.cxx,v $
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
* This file is part of OpenOffice.org.
*
@@ -270,6 +270,11 @@ void SdrTextObj::EndTextEdit(SdrOutliner& rOutl)
sal_uInt16 nParaAnz = static_cast< sal_uInt16 >( rOutl.GetParagraphCount() );
pNewText = rOutl.CreateParaObject( 0, nParaAnz );
}
+
+ // need to end edit mode early since SetOutlinerParaObject already
+ // uses GetCurrentBoundRect() which needs to take the text into account
+ // to work correct
+ mbInEditMode = FALSE;
SetOutlinerParaObject(pNewText);
}