summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgcache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/stgcache.cxx')
-rw-r--r--sot/source/sdstor/stgcache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx
index e073dc827e05..cbed63a6d27f 100644
--- a/sot/source/sdstor/stgcache.cxx
+++ b/sot/source/sdstor/stgcache.cxx
@@ -262,7 +262,7 @@ void StgCache::SetStrm( UCBStorageStream* pStgStream )
if ( pStorageStream )
{
- pStorageStream->AddRef();
+ pStorageStream->AddFirstRef();
pStrm = pStorageStream->GetModifySvStream();
}