summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}