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

Stephan Bergmann sbergman at redhat.com
Thu Oct 13 09:24:13 UTC 2016


 sfx2/source/dialog/styfitem.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 0e005d4354ba7e9819a350177873b3b7dfcead53
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Oct 13 11:20:57 2016 +0200

    loplugin:unreffun
    
    Change-Id: I5f19ba3aa94bbe6b69026273208d6b53dd846211

diff --git a/sfx2/source/dialog/styfitem.cxx b/sfx2/source/dialog/styfitem.cxx
index fb9ad08..5ae6a03 100644
--- a/sfx2/source/dialog/styfitem.cxx
+++ b/sfx2/source/dialog/styfitem.cxx
@@ -126,13 +126,6 @@ namespace
         {
         }
 
-        OLocalResourceAccess(const ResId& _rId, RESOURCE_TYPE _rType)
-            :Resource(_rId.SetRT(_rType).SetAutoRelease(false))
-            ,m_pManager(_rId.GetResMgr())
-        {
-            OSL_ENSURE( m_pManager != nullptr, "OLocalResourceAccess::OLocalResourceAccess: invalid resource manager!" );
-        }
-
         ~OLocalResourceAccess()
         {
             if ( m_pManager )


More information about the Libreoffice-commits mailing list