summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tools/resid.hxx9
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; }