include/tools/resid.hxx |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit 725c81613c3855f77e2890db0713622974909b33
Author: Caolán McNamara <[email protected]>
Date:   Wed Feb 8 16:30:43 2017 +0000

    ResId::SetAutoRelease now unused
    
    Change-Id: Ieaee60607200973f8d725d19a9c63bdc2f230850

diff --git a/include/tools/resid.hxx b/include/tools/resid.hxx
index c39dd67..480f5b7 100644
--- a/include/tools/resid.hxx
+++ b/include/tools/resid.hxx
@@ -87,15 +87,6 @@ public:
     ResMgr *        GetResMgr() const { return m_pResMgr; }
     void            ClearResMgr() const { m_pResMgr = nullptr; }
 
-    const ResId &  SetAutoRelease(bool bRelease) const
-    {
-        if( bRelease )
-            m_nResId &= ~RSC_DONTRELEASE;
-        else
-            m_nResId |= RSC_DONTRELEASE;
-        return *this;
-    }
-
     bool            IsAutoRelease()  const { return !(m_nResId & 
RSC_DONTRELEASE); }
 
     sal_uInt32      GetId()          const { return m_nResId & 
~RSC_DONTRELEASE; }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to