diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-03-13 23:45:45 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-03-14 08:00:49 +0100 |
commit | 82ed61ab269eca25c8bc22537327e812efe222bb (patch) | |
tree | 16e059fcef9807f11a1d7b02c158deff18dc7c1a | |
parent | 982fcf11b763ac1b4cd2b68291ea7d94fe14752d (diff) |
fix memory leak in cond format xlsx export
Change-Id: I0f11b30b33abf029f56ccbd8c0eb95b0acd35df4
-rw-r--r-- | sc/source/filter/excel/xeextlst.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xeextlst.cxx b/sc/source/filter/excel/xeextlst.cxx index 16f0cc4148d4..c8f9d8b555e7 100644 --- a/sc/source/filter/excel/xeextlst.cxx +++ b/sc/source/filter/excel/xeextlst.cxx @@ -101,8 +101,7 @@ XclExpExtCfvo::XclExpExtCfvo( const XclExpRoot& rRoot, const ScColorScaleEntry& OUString aFormula; if(pArr) { - aFormula = XclXmlUtils::ToOUString( GetCompileFormulaContext(), rSrcPos, - pArr->Clone()); + aFormula = XclXmlUtils::ToOUString( GetCompileFormulaContext(), rSrcPos, pArr); } maValue = OUStringToOString(aFormula, RTL_TEXTENCODING_UTF8 ); } |