[Libreoffice-commits] core.git: sc/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Dec 3 17:48:22 UTC 2019


 sc/source/filter/xml/XMLTableShapeImportHelper.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 00262b08984fb2fb91b760d588851bd47ae4d3ac
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Dec 3 13:20:33 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Dec 3 18:46:55 2019 +0100

    Drop unnecessary o3tl::optional::reset
    
    ...where xRangeList goes out of scope anyway
    
    Change-Id: Ibb107ac7eee5504a161749f141997bd96fd07e83
    Reviewed-on: https://gerrit.libreoffice.org/84336
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sc/source/filter/xml/XMLTableShapeImportHelper.cxx b/sc/source/filter/xml/XMLTableShapeImportHelper.cxx
index 12553aa379d3..64260d2c3e58 100644
--- a/sc/source/filter/xml/XMLTableShapeImportHelper.cxx
+++ b/sc/source/filter/xml/XMLTableShapeImportHelper.cxx
@@ -160,8 +160,6 @@ void XMLTableShapeImportHelper::finishShape(
                 if (ScMyTables::IsOLE(rShape))
                     rTables.AddOLE(rShape, *xRangeList);
             }
-
-            xRangeList.reset();
         }
         else // shape is annotation
         {


More information about the Libreoffice-commits mailing list