diff --git a/sw/qa/extras/ooxmlexport/data/tdf168607_tabstopZero.docx b/sw/qa/extras/ooxmlexport/data/tdf168607_tabstopZero.docx index 73a4542113c7..e093c7ac9f5e 100644 Binary files a/sw/qa/extras/ooxmlexport/data/tdf168607_tabstopZero.docx and b/sw/qa/extras/ooxmlexport/data/tdf168607_tabstopZero.docx differ diff --git a/sw/source/writerfilter/dmapper/SettingsTable.cxx b/sw/source/writerfilter/dmapper/SettingsTable.cxx index ef2b9ad4ce6b..157b78ea320e 100644 --- a/sw/source/writerfilter/dmapper/SettingsTable.cxx +++ b/sw/source/writerfilter/dmapper/SettingsTable.cxx @@ -26,6 +26,7 @@ #include #include +#include #include #include #include @@ -40,7 +41,6 @@ #include #include -#include "ConversionHelper.hxx" #include "DomainMapper.hxx" #include "util.hxx" #include @@ -271,7 +271,7 @@ void SettingsTable::lcl_sprm(Sprm& rSprm) resolveSprmProps(*this, rSprm); break; case NS_ooxml::LN_CT_Settings_defaultTabStop: // 92505; - m_nDefaultTabStop = nIntValue; + m_nDefaultTabStop = static_cast(nIntValue); break; case NS_ooxml::LN_CT_Settings_linkStyles: // 92663; { @@ -480,7 +480,7 @@ void SettingsTable::lcl_entry(const writerfilter::Reference::Pointer //returns default TabStop in 1/100th mm int SettingsTable::GetDefaultTabStop() const { - return ConversionHelper::convertTwipToMm100_Limited(m_nDefaultTabStop); + return convertTwipToMm100(m_nDefaultTabStop); } bool SettingsTable::GetLinkStyles() const diff --git a/sw/source/writerfilter/dmapper/SettingsTable.hxx b/sw/source/writerfilter/dmapper/SettingsTable.hxx index bbe2aee487b7..4f32be03231c 100644 --- a/sw/source/writerfilter/dmapper/SettingsTable.hxx +++ b/sw/source/writerfilter/dmapper/SettingsTable.hxx @@ -123,7 +123,7 @@ private: // Table virtual void lcl_entry(const writerfilter::Reference::Pointer_t& ref) override; - int m_nDefaultTabStop; + sal_uInt16 m_nDefaultTabStop; bool m_bRecordChanges; bool m_bShowInsDelChanges;