sc/source/filter/excel/excel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dbafd0b0e84463a27ac88a380d88348a7449468c Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sat Jun 27 10:24:06 2020 +0200 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Jun 27 20:24:26 2020 +0200 cid#1464973: RESOURCE_LEAK (sc/excel) Change-Id: I923788f57e022c99a89a6406cf3ed02066efd022 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97279 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> (cherry picked from commit 8407daed1ddab1cc754f72d9f7d140a649abf1f5) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97299 diff --git a/sc/source/filter/excel/excel.cxx b/sc/source/filter/excel/excel.cxx index 2c3a885029d0..34dd49a81c8b 100644 --- a/sc/source/filter/excel/excel.cxx +++ b/sc/source/filter/excel/excel.cxx @@ -346,7 +346,7 @@ static ErrCode lcl_ExportExcelBiff( SfxMedium& rMedium, ScDocument *pDocument, { // To avoid long paths split and open substorages recursively // Splitting paths manually, since comphelper::string::split is trimming special characters like \0x01, \0x09 - SotStorage * pStorage = xEncryptedRootStrg.get(); + tools::SvRef<SotStorage> pStorage = xEncryptedRootStrg.get(); OUString sFileName; sal_Int32 idx = 0; do _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits