summaryrefslogtreecommitdiff
path: root/include/tools/resid.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/resid.hxx')
-rw-r--r--include/tools/resid.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/tools/resid.hxx b/include/tools/resid.hxx
index dd0188d3fded..aa4707545d06 100644
--- a/include/tools/resid.hxx
+++ b/include/tools/resid.hxx
@@ -99,11 +99,10 @@ public:
}
ResMgr * GetResMgr() const { return m_pResMgr; }
- const ResId & SetResMgr( ResMgr * pMgr ) const
+ void SetResMgr( ResMgr * pMgr ) const
{
m_pResMgr = pMgr;
OSL_ENSURE( m_pResMgr != nullptr, "invalid ResMgr set on ResId" );
- return *this;
}
const ResId & SetAutoRelease(bool bRelease) const