writerfilter/source/dmapper/DomainMapper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 246c7ff132ff63c607da91c9b8ee7987f31559f8 Author: Oliver Specht <[email protected]> AuthorDate: Mon Feb 19 11:11:56 2024 +0100 Commit: Thorsten Behrens <[email protected]> CommitDate: Thu May 9 22:27:44 2024 +0200 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 <[email protected]> diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index 344a36cf9520..879b8e35740a 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -706,10 +706,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
