diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 22:25:42 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 22:25:42 +0000 |
commit | 84c67db8ae42655c469f9abb61d1e790cc72d4d8 (patch) | |
tree | d60569c54abe8ce0a6f17605d278abefe1b40d24 /svx | |
parent | c259bcc4f3cb9d473d1de06582e792182ce09b5a (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.cxx | 7 |
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); } |