cppcheck:redundantAssignment
Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
This commit is contained in:
committed by
Noel Grandin
parent
943f4b4ff1
commit
4ea281a3cc
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user