summaryrefslogtreecommitdiff
path: root/include/vcl/lazydelete.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-29 11:41:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-29 11:43:40 +0000
commit9bfd742d8cdc4aab3dd817f13ab4cfa5cc60ae12 (patch)
tree51815ec709869dd297c10b8359b3bc4736204a98 /include/vcl/lazydelete.hxx
parentcfaba15c589f882cc0bcce5cd07bdf3d30f547f6 (diff)
loplugin:unusedmethods
Change-Id: Ib008613fb06c82791c63d5b074a3e2ff1c3607a0 Reviewed-on: https://gerrit.libreoffice.org/35834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/lazydelete.hxx')
-rw-r--r--include/vcl/lazydelete.hxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/vcl/lazydelete.hxx b/include/vcl/lazydelete.hxx
index aef865dc234c..63196185701a 100644
--- a/include/vcl/lazydelete.hxx
+++ b/include/vcl/lazydelete.hxx
@@ -234,11 +234,6 @@ namespace vcl
// set contents, returning old contents
// ownership is transferred !
T* set( T* i_pNew ) { T* pOld = m_pT; m_pT = i_pNew; return pOld; }
-
- // set contents, deleting old contents
- // ownership is transferred !
- void reset( T* i_pNew = nullptr )
- { OSL_ASSERT( i_pNew != m_pT || i_pNew == nullptr ); T* pOld = m_pT; m_pT = i_pNew; delete pOld; }
};
/** Similar to DeleteOnDeinit, the DeleteUnoReferenceOnDeinit