<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 24 Apr 2023 at 13:33, Julien Nabet <<a href="mailto:serval2412@yahoo.fr">serval2412@yahoo.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I noticed in include/svx/xdef.hxx that the numbering was wrong from <br>
XATTRSET_LINE (line 105)<br>
<br>
103  constexpr TypedWhichId<XLineCapItem> XATTR_LINECAP          <br>
(XATTR_LINE_FIRST + 12); /* V3: 1012 */<br>
104  constexpr sal_uInt16 XATTR_LINE_LAST        (XATTR_LINECAP);<br>
105  constexpr TypedWhichId<XLineAttrSetItem> XATTRSET_LINE          <br>
(XATTR_LINE_LAST + 1);   /* V3: 1017  V2: 1017 */<br>
<br></blockquote><div><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">The actualy numbering is fine, although the comments are wrong.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
2) Are "V2" "V3" numbers in comments useful or can we remove them to <br>
just keep the last real number ?<br>
<br></blockquote><div><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">The comments are no longer of any use and can be remove (IMO).</div><div class="gmail_default" style="font-family:tahoma,sans-serif"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Remark: ideally, I'd like being able to do this in gdb:<br>
<br><br>
(gdb) p SDRATTR_TABLE_FIRST<br>
No symbol "SDRATTR_TABLE_FIRST" in current context.<br>
<br><br></blockquote><div><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">no idea why that doesn't work, maybe the linker is stripping unused symbols.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"></div></div></div>