writerfilter/source/dmapper/MeasureHandler.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 376e27dd498d64212e570354a94c527b37d367b1 Author: Mike Kaganski <mike.kagan...@collabora.com> Date: Tue Jul 25 12:24:09 2017 +0200 MeasureHandler: Remove incorrect numeric-value-of-constant comments Change-Id: I89ab3028af12cede2ff1c80c41be053208bf9a43 Reviewed-on: https://gerrit.libreoffice.org/40396 Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/writerfilter/source/dmapper/MeasureHandler.cxx b/writerfilter/source/dmapper/MeasureHandler.cxx index 43fce6b4b24f..69a824826324 100644 --- a/writerfilter/source/dmapper/MeasureHandler.cxx +++ b/writerfilter/source/dmapper/MeasureHandler.cxx @@ -49,7 +49,7 @@ void MeasureHandler::lcl_attribute(Id rName, Value & rVal) sal_Int32 nIntValue = rVal.getInt(); switch( rName ) { - case NS_ooxml::LN_CT_TblWidth_type:// = 90668; + case NS_ooxml::LN_CT_TblWidth_type: { //can be: NS_ooxml::LN_Value_ST_TblWidth_nil, NS_ooxml::LN_Value_ST_TblWidth_pct, // NS_ooxml::LN_Value_ST_TblWidth_dxa, NS_ooxml::LN_Value_ST_TblWidth_auto; @@ -70,14 +70,14 @@ void MeasureHandler::lcl_attribute(Id rName, Value & rVal) } } break; - case NS_ooxml::LN_CT_Height_hRule: // 90666; + case NS_ooxml::LN_CT_Height_hRule: { OUString sHeightType = rVal.getString(); if ( sHeightType == "exact" ) m_nRowHeightSizeType = text::SizeType::FIX; } break; - case NS_ooxml::LN_CT_TblWidth_w:// = 90667; + case NS_ooxml::LN_CT_TblWidth_w: m_nMeasureValue = nIntValue; if (!m_aInteropGrabBagName.isEmpty()) { @@ -87,7 +87,7 @@ void MeasureHandler::lcl_attribute(Id rName, Value & rVal) m_aInteropGrabBag.push_back(aValue); } break; - case NS_ooxml::LN_CT_Height_val: // 90665 -- a string value + case NS_ooxml::LN_CT_Height_val: // a string value { m_nUnit = NS_ooxml::LN_Value_ST_TblWidth_dxa; OUString sHeight = rVal.getString(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits