writerfilter/source/dmapper/DomainMapper.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit feb08063c47e303bcf399ac90354fbcca1262997
Author:     Oliver Specht <oliver.spe...@cib.de>
AuthorDate: Mon Feb 19 11:11:56 2024 +0100
Commit:     Thorsten Behrens <thorsten.behr...@allotropia.de>
CommitDate: Mon Feb 19 18:05:45 2024 +0100

    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.behr...@allotropia.de>

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

Reply via email to