From 65d7eced14c7b2f23deafe8326af1311fa14a3cc Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 6 May 2014 20:42:25 +0200 Subject: [PATCH] DomainMapperTableManager::endOfRowAction(): valgrind warnings Change-Id: I9e59ec2d45508d8f4dee8415411182576dacc45f --- writerfilter/source/dmapper/DomainMapperTableManager.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.cxx b/writerfilter/source/dmapper/DomainMapperTableManager.cxx index 3bf3ce3eca34..98fa11aca93a 100644 --- a/writerfilter/source/dmapper/DomainMapperTableManager.cxx +++ b/writerfilter/source/dmapper/DomainMapperTableManager.cxx @@ -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))