summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-17 12:40:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-17 14:00:47 +0000
commit7890c99b2e6b8247c4f1437ea6a2b5e53665ccb0 (patch)
tree4885351be095bb0f13a551683f8b004e542ec443 /include
parentc7aa8e42d3dfd089efa948b776f915e5479b5463 (diff)
drop now unused Resource::FreeResource
Change-Id: Iaf075a926a61d944c6d7d959ac1aad291fd0b696
Diffstat (limited to 'include')
-rw-r--r--include/dbaccess/ToolBoxHelper.hxx2
-rw-r--r--include/tools/rc.hxx4
2 files changed, 0 insertions, 6 deletions
diff --git a/include/dbaccess/ToolBoxHelper.hxx b/include/dbaccess/ToolBoxHelper.hxx
index 82f97a1c665d..466349fbecf5 100644
--- a/include/dbaccess/ToolBoxHelper.hxx
+++ b/include/dbaccess/ToolBoxHelper.hxx
@@ -59,8 +59,6 @@ namespace dbaui
this function and do what need to be done.
@param _pTB
The new ToolBox.
- @attention
- Must be called after a FreeResource() call.
*/
void setToolBox(ToolBox* _pTB);
diff --git a/include/tools/rc.hxx b/include/tools/rc.hxx
index 0ad6c0911232..d7a6391dd593 100644
--- a/include/tools/rc.hxx
+++ b/include/tools/rc.hxx
@@ -64,10 +64,6 @@ protected:
OString ReadByteStringRes()
{ return m_pResMgr->ReadByteString(); }
- // free the resource from m_pResMgr's stack (pass this ptr for validation)
- void FreeResource()
- { m_pResMgr->PopContext( this ); }
-
// constructors
Resource() : m_pResMgr( nullptr ) {}
Resource( const ResId& rResId );