DomainMapperTableManager::endOfRowAction(): valgrind warnings

Change-Id: I9e59ec2d45508d8f4dee8415411182576dacc45f
This commit is contained in:
Michael Stahl
2014-05-06 20:42:25 +02:00
parent 5707c81218
commit 65d7eced14

View File

@@ -672,8 +672,8 @@ void DomainMapperTableManager::endOfRowAction()
* then replace the TABLE_WIDTH property, set earlier.
*/
TablePropertyMapPtr propMap = m_aTmpTableProperties.back();
sal_Int32 nTableWidth;
sal_Int32 nTableWidthType;
sal_Int32 nTableWidth(0);
sal_Int32 nTableWidthType(text::SizeType::VARIABLE);
propMap->getValue( TablePropertyMap::TABLE_WIDTH, nTableWidth );
propMap->getValue( TablePropertyMap::TABLE_WIDTH_TYPE, nTableWidthType );
if ((nTableWidthType == text::SizeType::FIX) && (nTableWidth < m_nTableWidth))