summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2015-08-21 00:36:40 +0200
committermatteocam <matteo.campanelli@gmail.com>2015-08-21 00:36:40 +0200
commit30e74050503faf5e49ebad7d682bfab43d5cccbe (patch)
treeca7e1f81d2d984da2ff955ddade2db5153be6ce9
parent911c02aff6d91a6c2d3c08f10e6751a49d42d7cf (diff)
Simply set the SdrText's ParaObj feature/gsoc14-draw-chained-text-boxes
Change-Id: Ic4454474f31d4a013ebb1f69382e1e688e332813
-rw-r--r--svx/source/svdraw/svdotxed.cxx3
1 files changed, 2 insertions, 1 deletions
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);
}