[Libreoffice] Inconsistencies in GoDownSel and GoUpSel (cell selection in Calc)

Eike Rathke ooo at erack.de
Thu Jul 28 04:48:57 PDT 2011


Hi Olivier,

On Wednesday, 2011-07-27 21:05:06 -0300, Olivier Hallot wrote:

> I am not  skilled in C++ (thanks for your patience), but scslots.hxx looks
> different for GoUpSel and GoDownSel, if that matters, around the line that
> starts with "73/*Offset*/" and "74/*Offset*/"

The parameters are declared independently for each slot, see
SFX_ARGUMENTMAP(ScCellShell) in scslots.hxx where in my build offset
0 is at line 6112, so offset 73 is at line 6185. From there you see
repetitions of

    SFX_ARGUMENT(FN_PARAM_1,"By",SfxInt16Item),

For why your macro doesn't work and how to fix it see Caolan's answer.

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110728/42b73020/attachment-0001.pgp>


More information about the LibreOffice mailing list