error: this member function can be declared static [loplugin:staticmethods] when adding a event function in a dialog

Heiko Tietze heiko.tietze at documentfoundation.org
Fri Mar 29 08:07:16 UTC 2024


On 28.03.24 6:09 PM, Caolán McNamara wrote:
> On Fri, 2024-03-29 at 00:16 +0800, Sakura286 wrote:
>>
>> https://gerrit.libreoffice.org/c/core/+/165391
> 
> You might want DECL_STATIC_LINK instead of DECL_LINK. The matching
> IMPL_LINK then needs to be IMPL_STATIC_LINK etc.

Curious to learn why this needs to be static. What makes the one button 
different from the other?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20240329/5d3d64ed/attachment.sig>


More information about the LibreOffice mailing list