[Libreoffice-commits] core.git: framework/inc

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 12 13:59:28 UTC 2019


 framework/inc/helper/statusindicatorfactory.hxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 7612651a1c51c1c86788c637ef4ab2db7751cc10
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Dec 12 11:15:12 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Dec 12 14:58:07 2019 +0100

    Remove redundant member clear() from dtor
    
    ...and then remove newly-redundant user-provided dtor completely, similar to
    <https://gerrit.libreoffice.org/#/c/85032/> "Remove some redundant user-provided
    dtors"
    
    Change-Id: I185d3aa7c16b5d4e6e64345c7fa221b9ed0cde6e
    Reviewed-on: https://gerrit.libreoffice.org/85038
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx
index da02dbfc626a..467c1ccd84bf 100644
--- a/framework/inc/helper/statusindicatorfactory.hxx
+++ b/framework/inc/helper/statusindicatorfactory.hxx
@@ -86,13 +86,6 @@ struct IndicatorInfo
             m_nValue     = 0;
         }
 
-        /** @short  Don't forget to free used references!
-         */
-        ~IndicatorInfo()
-        {
-            m_xIndicator.clear();
-        }
-
         /** @short  Used to locate an info struct inside a stl structure...
 
             @descr  The indicator object itself is used as key. Its values


More information about the Libreoffice-commits mailing list