sc/source/core/data/documen4.cxx | 3 ++- sc/source/core/data/documentimport.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit 384b4331e6962553e682fda7257ccc3d54549bea Author: Eike Rathke <er...@redhat.com> Date: Fri Jan 23 14:28:54 2015 +0100 fix abuse of OUStringBuffer(int) ctor Partial backport of 853c2fc71a96755a9dee629fd5d0e1cff9a48034 Change-Id: I14e26da332a829c6381ee9e07571171ebebe0ac0 Reviewed-on: https://gerrit.libreoffice.org/14132 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx index 2ab0088..1f047d5 100644 --- a/sc/source/core/data/documen4.cxx +++ b/sc/source/core/data/documen4.cxx @@ -374,7 +374,8 @@ void ScDocument::InsertTableOp(const ScTabOpParam& rParam, // multiple (repeate } ScRefAddress aRef; - OUStringBuffer aForString('='); + OUStringBuffer aForString; + aForString.append('='); aForString.append(ScCompiler::GetNativeSymbol(ocTableOp)); aForString.append(ScCompiler::GetNativeSymbol( ocOpen)); diff --git a/sc/source/core/data/documentimport.cxx b/sc/source/core/data/documentimport.cxx index 48878f5..4191642 100644 --- a/sc/source/core/data/documentimport.cxx +++ b/sc/source/core/data/documentimport.cxx @@ -375,7 +375,8 @@ void ScDocumentImport::setTableOpCells(const ScRange& rRange, const ScTabOpParam ScDocument* pDoc = &mpImpl->mrDoc; ScRefAddress aRef; - OUStringBuffer aFormulaBuf('='); + OUStringBuffer aFormulaBuf; + aFormulaBuf.append('='); aFormulaBuf.append(ScCompiler::GetNativeSymbol(ocTableOp)); aFormulaBuf.append(ScCompiler::GetNativeSymbol(ocOpen));
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits