[Libreoffice] Duplicate ids in 'writer/sw/inc/cmdid.h'

Caolán McNamara caolanm at redhat.com
Sat Nov 6 05:32:23 PDT 2010


On Sat, 2010-11-06 at 00:25 +0100, Gert Faller wrote:
> Hi,
> 
> just wondering if someone knows why there are duplicate ids in
> 'writer/sw/inc/cmdid.h'
> (FN_FORMAT + 129) , (FN_FORMAT + 130), (FN_FORMAT + 131) at line 537.

Hmm, one of the + 129 is FN_NEW_PAGE_STYLE and appears (according to
opengrok) unused the FN_PAGE_STYLE_SET_LR_MARGIN and
FN_PAGE_STYLE_SET_UL_MARGIN i.e. one version of the + 130 and + 131 are
only mentioned in basesh.cxx as "false not implemented". 

So I reckon those three should go entirely to avoid the duplicate ids.

C.



More information about the LibreOffice mailing list