diff options
author | Jan-Marek Glogowski <jan-marek.glogowski@extern.cib.de> | 2019-08-02 14:22:10 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <jan-marek.glogowski@extern.cib.de> | 2019-08-07 12:12:36 +0200 |
commit | dc9bd8f552cc2960784ee9d2d0edf20810ed2a8c (patch) | |
tree | b8642a1eab22e677fc19e843b6df1a4234ef08ff /sw/source/core/bastyp | |
parent | 940efa122ca2876b96e2391324b5140d176157f1 (diff) |
Fix build with enabled asserts
Regression from commit 774a0185fb47 ("tdf#125475 sw: update
SwTextFrames when SwTextLine cache shrinks").
Change-Id: Iaab0ede4e993a8cebd56115d3345092529d48e3b
Diffstat (limited to 'sw/source/core/bastyp')
-rw-r--r-- | sw/source/core/bastyp/swcache.cxx | 2 |
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; |