/org.openoffice.Office.Writer/FormLetter/MailingOutput/Format is xs:int
...i.e., sal_Int32. Regression introduced with ba9acdf7 "convert TXTFORMAT constants to scoped enum". (The problem with storing a sal_uInt8 in an Any is that sal_uInt8 == sal_Bool, so actually a Boolean Any is constructed---and configmgr will throw an exception when trying to set that value for the "Format" prop. The problem with extracting a sal_uInt8 from a sal_Int32 Any with getValue/static_cast is that it doesn't even read (only) the low order bits, but on big endian machines reads the high order bits.) This is a backported version of 25a60d19 "/org.openoffice.Office.Writer/FormLetter/MailingOutput/Format is xs:int" which uses o3tl::doAccess newly introduced on master. Change-Id: I654da713bbf78b3215de7a09056a5172fc204258 Reviewed-on: https://gerrit.libreoffice.org/26285Reviewed-by:Stephan Bergmann <sbergman@redhat.com> Tested-by:
Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit abca482a) Reviewed-on: https://gerrit.libreoffice.org/26286Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Michael Stahl <mstahl@redhat.com> (cherry picked from commit 53b97fd4)
Showing
Please
register
or
sign in
to comment