diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 16:30:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-08 16:30:56 +0000 |
commit | 725c81613c3855f77e2890db0713622974909b33 (patch) | |
tree | b637513e1b3da9c87973fd8dceb50b709e2ddb32 | |
parent | 0eed6c98cac8b6d982ab595e6e8a2ee079d88389 (diff) |
ResId::SetAutoRelease now unused
Change-Id: Ieaee60607200973f8d725d19a9c63bdc2f230850
-rw-r--r-- | include/tools/resid.hxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/tools/resid.hxx b/include/tools/resid.hxx index c39dd675da05..480f5b7024c3 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; } |