From e59d4f7d6d8d07e755de00127fac9fff0f758f50 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Fri, 4 Apr 2008 11:50:20 +0000 Subject: 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 --- svx/source/svdraw/svdotext.cxx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'svx') 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); -- cgit