summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-03-24 10:45:00 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-03-24 14:45:36 +0000
commit9970a6d41a34e7d062758ac7142db0a2796553ac (patch)
tree24629e46aff0b4dadf9ccddb7ca5fc751c4364d6
parent6392347e27ed500b30acc62e9e27618eab5a8ee0 (diff)
Remove german variable and use directly
Change-Id: Ia31bd59e3f5619338e3793a776f048309272cab2 Reviewed-on: https://gerrit.libreoffice.org/23489 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
-rw-r--r--svx/source/svdraw/svdotxed.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdotxed.cxx b/svx/source/svdraw/svdotxed.cxx
index 9df962bed61e..02b20fe1205d 100644
--- a/svx/source/svdraw/svdotxed.cxx
+++ b/svx/source/svdraw/svdotxed.cxx
@@ -285,9 +285,8 @@ void SdrTextObj::EndTextEdit(SdrOutliner& rOutl)
// to make the gray field background vanish again
rOutl.UpdateFields();
- sal_Int32 nParaAnz = rOutl.GetParagraphCount();
bool bNewTextTransferred = false;
- OutlinerParaObject* pNewText = rOutl.CreateParaObject( 0, nParaAnz );
+ OutlinerParaObject* pNewText = rOutl.CreateParaObject( 0, rOutl.GetParagraphCount() );
// need to end edit mode early since SetOutlinerParaObject already
// uses GetCurrentBoundRect() which needs to take the text into account