diff options
Diffstat (limited to 'sot/source/sdstor/stgcache.cxx')
-rw-r--r-- | sot/source/sdstor/stgcache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx index 93f7d3090c93..9b0fc316f79a 100644 --- a/sot/source/sdstor/stgcache.cxx +++ b/sot/source/sdstor/stgcache.cxx @@ -213,7 +213,7 @@ bool StgCache::Commit() std::sort( aToWrite.begin(), aToWrite.end(), StgPage::IsPageGreater ); for (StgPage* pWr : aToWrite) { - const rtl::Reference< StgPage > &pPage = pWr; + const rtl::Reference< StgPage > pPage = pWr; if ( !Write( pPage->GetPage(), pPage->GetData() ) ) return false; } |