diff options
author | Oliver Specht <oliver.specht@cib.de> | 2024-02-19 11:11:56 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2024-02-19 18:05:45 +0100 |
commit | feb08063c47e303bcf399ac90354fbcca1262997 (patch) | |
tree | 27591f639bc82353f48e62bcff1725fa046cb515 | |
parent | ab85fa0f162c40c3c5f00b189d43c554e5a7861d (diff) |
tdf#159254 fix import of printer tray in docx
Change-Id: I9f3835800c921dbc90ef09a8dfa3001bed74d2d8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163589
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index 5c75e998ff2b..946befddd2f9 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -708,10 +708,10 @@ void DomainMapper::lcl_attribute(Id nName, Value & val) m_pImpl->SetPageMarginTwip( PAGE_MAR_GUTTER, nIntValue ); break; case NS_ooxml::LN_CT_PaperSource_first: - m_pImpl->SetPaperSource(PAPER_SOURCE_FIRST, nIntValue); + m_pImpl->SetPaperSource(PAPER_SOURCE_FIRST, sStringValue.toInt32()); break; case NS_ooxml::LN_CT_PaperSource_other: - m_pImpl->SetPaperSource(PAPER_SOURCE_OTHER, nIntValue); + m_pImpl->SetPaperSource(PAPER_SOURCE_OTHER, sStringValue.toInt32()); break; case NS_ooxml::LN_CT_Language_val: //90314 case NS_ooxml::LN_CT_Language_eastAsia: //90315 |