cppcheck:redundantAssignment

Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
This commit is contained in:
Noel Grandin
2015-06-13 10:09:21 +02:00
committed by Noel Grandin
parent 943f4b4ff1
commit 4ea281a3cc
38 changed files with 66 additions and 108 deletions

View File

@@ -1977,11 +1977,8 @@ bool StringResourcePersistenceImpl::implReadPropertiesFile
if( !xInputStream.is() || pLocaleItem == NULL )
return false;
bool bSuccess = false;
Reference< io::XTextInputStream2 > xTextInputStream = io::TextInputStream::create( m_xContext );
bSuccess = true;
xTextInputStream->setInputStream( xInputStream );
OUString aEncodingStr = OUString::createFromAscii
@@ -2092,7 +2089,7 @@ bool StringResourcePersistenceImpl::implReadPropertiesFile
rIndexMap[ aResourceID ] = pLocaleItem->m_nNextIndex++;
}
return bSuccess;
return true;
}