From 30e74050503faf5e49ebad7d682bfab43d5cccbe Mon Sep 17 00:00:00 2001 From: matteocam Date: Fri, 21 Aug 2015 00:36:40 +0200 Subject: Simply set the SdrText's ParaObj Change-Id: Ic4454474f31d4a013ebb1f69382e1e688e332813 --- svx/source/svdraw/svdotxed.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'svx/source') diff --git a/svx/source/svdraw/svdotxed.cxx b/svx/source/svdraw/svdotxed.cxx index dfcbae869f78..4ab5f681ec1b 100644 --- a/svx/source/svdraw/svdotxed.cxx +++ b/svx/source/svdraw/svdotxed.cxx @@ -293,7 +293,8 @@ void SdrTextObj::EndTextEdit(SdrOutliner& rOutl) // We don't want broadcasting if we are merely trying to move to next box (this prevents infinite loops) if (IsChainable() && GetTextChain()->GetSwitchingToNextBox(this)) { GetTextChain()->SetSwitchingToNextBox(this, false); - NbcSetOutlinerParaObject(pNewText); + if( getActiveText() ) + getActiveText()->SetOutlinerParaObject( pNewText); } else { SetOutlinerParaObject(pNewText); } -- cgit v1.2.3