summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/bastyp/swcache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/bastyp/swcache.cxx b/sw/source/core/bastyp/swcache.cxx
index 69f5bc91d586..513381512a7d 100644
--- a/sw/source/core/bastyp/swcache.cxx
+++ b/sw/source/core/bastyp/swcache.cxx
@@ -299,7 +299,7 @@ void SwCache::DeleteObj( SwCacheObj *pObj )
pObj->GetNext()->SetPrev( pObj->GetPrev() );
m_aFreePositions.push_back( pObj->GetCachePos() );
- assert(m_aCacheObjects[pObj->GetCachePos()].get() == pObj);
+ assert(m_aCacheObjects[pObj->GetCachePos()] == pObj);
m_aCacheObjects[pObj->GetCachePos()] = nullptr;
delete pObj;