summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/source/ref/pstm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx
index 1e9dfba53606..bba75a224881 100644
--- a/tools/source/ref/pstm.cxx
+++ b/tools/source/ref/pstm.cxx
@@ -587,7 +587,7 @@ sal_uInt32 SvPersistStream::ReadObj
}
pFunc( &rpObj );
// Save reference
- rpObj->AddRef();
+ rpObj->AddFirstRef();
if( bRegister )
{