[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sc/source
Eike Rathke
erack at redhat.com
Fri Jan 23 07:27:48 PST 2015
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 <erack at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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));
More information about the Libreoffice-commits
mailing list