[Libreoffice-bugs] [Bug 95697] Assertion editeng/source/items/frmitems.cxx:478: unknown MemberId
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 29 10:31:39 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=95697
--- Comment #8 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
Last changes for reference:
git blame -L 657,681 editeng/source/items/frmitems.cxx
538f276ae0414 editeng/source/items/frmitems.cxx (Chris Sherlock
2016-02-09 09:21:53 +1100 657) bool SvxULSpaceItem::QueryValue( uno::Any& rVal,
sal_uInt8 nMemberId ) const
fd069bee7e57a svx/source/items/frmitems.cxx (Jens-Heiner Rechtien
2000-09-18 16:07:07 +0000 658) {
45169c93d57ac editeng/source/items/frmitems.cxx (Norbert Thiebaud
2010-10-04 15:23:49 +0100 659) bool bConvert =
0!=(nMemberId&CONVERT_TWIPS);
fd069bee7e57a svx/source/items/frmitems.cxx (Jens-Heiner Rechtien
2000-09-18 16:07:07 +0000 660) nMemberId &= ~CONVERT_TWIPS;
fd069bee7e57a svx/source/items/frmitems.cxx (Jens-Heiner Rechtien
2000-09-18 16:07:07 +0000 661) switch( nMemberId )
fd069bee7e57a svx/source/items/frmitems.cxx (Jens-Heiner Rechtien
2000-09-18 16:07:07 +0000 662) {
65d891652fd5d editeng/source/items/frmitems.cxx (Albert Thuswaldner
2011-02-16 16:34:02 -0500 663) // now all signed
c04e60275f273 svx/source/items/frmitems.cxx (Kurt Zenker
2004-02-25 15:07:38 +0000 664) case 0:
c04e60275f273 svx/source/items/frmitems.cxx (Kurt Zenker
2004-02-25 15:07:38 +0000 665) {
eb012bf0a8dcd editeng/source/items/frmitems.cxx (Noel Grandin
2015-09-11 15:44:09 +0200 666)
css::frame::status::UpperLowerMarginScale aUpperLowerMarginScale;
54a8e708b4822 editeng/source/items/frmitems.cxx (Stephan Bergmann
2018-01-12 20:25:09 +0100 667) aUpperLowerMarginScale.Upper =
static_cast<sal_Int32>(bConvert ? convertTwipToMm100(nUpper) : nUpper);
54a8e708b4822 editeng/source/items/frmitems.cxx (Stephan Bergmann
2018-01-12 20:25:09 +0100 668) aUpperLowerMarginScale.Lower =
static_cast<sal_Int32>(bConvert ? convertTwipToMm100(nLower) : nPropUpper);
54a8e708b4822 editeng/source/items/frmitems.cxx (Stephan Bergmann
2018-01-12 20:25:09 +0100 669) aUpperLowerMarginScale.ScaleUpper =
static_cast<sal_Int16>(nPropUpper);
54a8e708b4822 editeng/source/items/frmitems.cxx (Stephan Bergmann
2018-01-12 20:25:09 +0100 670) aUpperLowerMarginScale.ScaleLower =
static_cast<sal_Int16>(nPropLower);
c04e60275f273 svx/source/items/frmitems.cxx (Kurt Zenker
2004-02-25 15:07:38 +0000 671) rVal <<= aUpperLowerMarginScale;
c04e60275f273 svx/source/items/frmitems.cxx (Kurt Zenker
2004-02-25 15:07:38 +0000 672) break;
c04e60275f273 svx/source/items/frmitems.cxx (Kurt Zenker
2004-02-25 15:07:38 +0000 673) }
54a8e708b4822 editeng/source/items/frmitems.cxx (Stephan Bergmann
2018-01-12 20:25:09 +0100 674) case MID_UP_MARGIN: rVal <<=
static_cast<sal_Int32>(bConvert ? convertTwipToMm100(nUpper) : nUpper); break;
54a8e708b4822 editeng/source/items/frmitems.cxx (Stephan Bergmann
2018-01-12 20:25:09 +0100 675) case MID_LO_MARGIN: rVal <<=
static_cast<sal_Int32>(bConvert ? convertTwipToMm100(nLower) : nLower); break;
6f04bf5e90ff7 editeng/source/items/frmitems.cxx (Miklos Vajna
2012-03-08 18:50:59 +0100 676) case MID_CTX_MARGIN: rVal <<= bContext;
break;
54a8e708b4822 editeng/source/items/frmitems.cxx (Stephan Bergmann
2018-01-12 20:25:09 +0100 677) case MID_UP_REL_MARGIN: rVal <<=
static_cast<sal_Int16>(nPropUpper); break;
54a8e708b4822 editeng/source/items/frmitems.cxx (Stephan Bergmann
2018-01-12 20:25:09 +0100 678) case MID_LO_REL_MARGIN: rVal <<=
static_cast<sal_Int16>(nPropLower); break;
fd069bee7e57a svx/source/items/frmitems.cxx (Jens-Heiner Rechtien
2000-09-18 16:07:07 +0000 679) }
45169c93d57ac editeng/source/items/frmitems.cxx (Norbert Thiebaud
2010-10-04 15:23:49 +0100 680) return true;
fd069bee7e57a svx/source/items/frmitems.cxx (Jens-Heiner Rechtien
2000-09-18 16:07:07 +0000 681) }
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201229/f2a633c2/attachment.htm>
More information about the Libreoffice-bugs
mailing list