About macro VALIDTAB (sc module)

Eike Rathke erack at redhat.com
Wed Feb 13 08:43:22 PST 2013


Hi Kohei,

On Tuesday, 2013-02-12 20:09:55 -0500, Kohei Yoshida wrote:

> >     124 #define VALIDCOL(nCol)                  (ValidCol(nCol))
> >     125 #define VALIDROW(nRow)                  (ValidRow(nRow))
> >     126 #define VALIDTAB(nTab)                  (ValidTab(nTab))
> >     127 #define VALIDCOLROW(nCol,nRow)          (ValidColRow(nCol,nRow))
> >
> >I suppose there's a reason for these macros but I must recognize I don't get
> >it :-(
> 
> Actually I don't get the purpose of those macros either.  Anyway,
> I'm pretty sure that those macros are there for none other than some
> weird historical reasons.

Indeed, first there were the macros and later the proper inline methods
were introduced when increasing the row limit from 32k to 64k rows (CWS
rowlimit). Probably because back at those times it took ~2 hours to
recompile only Calc no one felt the urge to change everything at the end
;-)

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
New GnuPG key 0x65632D3A : 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Old GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130213/77358c89/attachment.pgp>


More information about the LibreOffice mailing list