[Libreoffice-commits] core.git: include/tools
Caolán McNamara
caolanm at redhat.com
Wed Feb 8 16:31:58 UTC 2017
include/tools/resid.hxx | 9 ---------
1 file changed, 9 deletions(-)
New commits:
commit 725c81613c3855f77e2890db0713622974909b33
Author: Caolán McNamara <caolanm at redhat.com>
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; }
More information about the Libreoffice-commits
mailing list