diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-04-04 11:50:20 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-04-04 11:50:20 +0000 |
commit | e59d4f7d6d8d07e755de00127fac9fff0f758f50 (patch) | |
tree | b91b66c7e6e77f7bdbb72f695b793a1d3ef7cf00 /svx | |
parent | d9148ed37190812ff5db0786a404e9924ff1832a (diff) |
INTEGRATION: CWS impress140 (1.86.38); FILE MERGED
2008/04/01 11:29:45 cl 1.86.38.1: #i87556# re get para outliner obj after changing objects itemset
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdotext.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index 3e227353190e..990db54b6938 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -4,9 +4,9 @@ * * $RCSfile: svdotext.cxx,v $ * - * $Revision: 1.86 $ + * $Revision: 1.87 $ * - * last change: $Author: rt $ $Date: 2008-03-12 09:55:05 $ + * last change: $Author: kz $ $Date: 2008-04-04 12:50:20 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -2111,8 +2111,12 @@ void SdrTextObj::SetVerticalWriting(sal_Bool bVertical) SetObjectItemSet(aNewSet); - // set ParaObject orientation accordingly - pOutlinerParaObject->SetVertical(bVertical); + pOutlinerParaObject = GetOutlinerParaObject(); + if( pOutlinerParaObject ) + { + // set ParaObject orientation accordingly + pOutlinerParaObject->SetVertical(bVertical); + } // restore object size SetSnapRect(aObjectRect); |