summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/ref/ref.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/source/ref/ref.cxx b/tools/source/ref/ref.cxx
index 3a6aa59f1743..8be92d6547e8 100644
--- a/tools/source/ref/ref.cxx
+++ b/tools/source/ref/ref.cxx
@@ -23,14 +23,4 @@ SvRefBase::~SvRefBase()
{
}
-void SvRefBase::QueryDelete()
-{
- bNoDelete = 0;
- // I'm not sure about the original purpose of this line, but right now
- // it serves the purpose that anything that attempts to do an AddRef()
- // after an object is deleted will trip an assert.
- nRefCount = 1 << 30;
- delete this;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */