summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgstrms.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx
index a9e7217a3a21..ae140fdb128a 100644
--- a/sot/source/sdstor/stgstrms.cxx
+++ b/sot/source/sdstor/stgstrms.cxx
@@ -370,8 +370,7 @@ sal_Int32 StgStrm::scanBuildPageChainCache()
// see if an already counted page is re-visited
while( nBgn >= 0 && !bError )
{
- if( nBgn >= 0 )
- m_aPagesCache.push_back(nBgn);
+ m_aPagesCache.push_back(nBgn);
nBgn = m_pFat->GetNextPage( nBgn );
//returned second is false if it already exists