lotuswordpro/source/filter/lwptblformula.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit d2546346ac07e4a3483c339d202e75b99b9d063b Author: Tor Lillqvist <t...@iki.fi> Date: Wed May 15 17:20:09 2013 +0300 Fix warning: unused variable 'aFuncName' [loplugin] Change-Id: I34a2726123001de0b867b4f54d6f37c55dbc79f5 diff --git a/lotuswordpro/source/filter/lwptblformula.cxx b/lotuswordpro/source/filter/lwptblformula.cxx index 1787e75..1a9fe59 100644 --- a/lotuswordpro/source/filter/lwptblformula.cxx +++ b/lotuswordpro/source/filter/lwptblformula.cxx @@ -594,8 +594,6 @@ OUString LwpFormulaFunc::ToString(LwpTableLayout* pCellsMap) { OUString aFormula; - OUString aFuncName = LwpFormulaTools::GetName(m_nTokenType) + " "; - //Append args vector<LwpFormulaArg*>::iterator aItr; for (aItr=m_aArgs.begin();aItr!=m_aArgs.end();++aItr) commit 1a90cecb6ecfdcd2896106c8fd37ced5341e13f7 Author: Tor Lillqvist <t...@iki.fi> Date: Wed May 15 17:19:02 2013 +0300 OUString::replaceAt() does not modify the OUString Change-Id: Id5d712364c3c8a1e4305ad036d9f51c30c2f9e80 diff --git a/lotuswordpro/source/filter/lwptblformula.cxx b/lotuswordpro/source/filter/lwptblformula.cxx index 0b69d05..1787e75 100644 --- a/lotuswordpro/source/filter/lwptblformula.cxx +++ b/lotuswordpro/source/filter/lwptblformula.cxx @@ -606,7 +606,7 @@ OUString LwpFormulaFunc::ToString(LwpTableLayout* pCellsMap) //erase the last "|" if (!m_aArgs.empty()) { - aFormula.replaceAt(aFormula.getLength()-1,1,""); + aFormula = aFormula.replaceAt(aFormula.getLength()-1,1,""); } else { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits