same id twice in dbaccess/source/ui/inc/FieldDescControl.hxx ?

Philipp Riemer ruderphilipp at gmail.com
Sun Aug 12 07:51:39 PDT 2012


Hello,

When integrating a translation patch (see
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=401a454c2da7560d5ec41ef07ac116403956c55a>)
I realized that in dbaccess/source/ui/inc/FieldDescControl.hxx there
is twice the same number assigned to two different constants. Should
this be that way or is it a mistake/bug/... ? If it is a wished
behavior, maybe a short comment behind the constant declaration of
someone knowing the code better than me would help here.

--- snip ---
#define COLUMN_DESCRIPTION              4

#define FIELD_FIRST_VIRTUAL_COLUMN      5

#define FIELD_PROPERTY_REQUIRED         5
#define FIELD_PROPERTY_NUMTYPE          6
--- snip ---

Cheers,
Philipp


More information about the LibreOffice mailing list