scary / too subtle overload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In include/svtools/brwbox.hxx:

class SVT_DLLPUBLIC BrowseBox
{
public:
    bool            IsColumnSelected( sal_uInt16 nColumnId ) const;
    // IAccessibleTableProvider
    virtual bool                    IsColumnSelected( long _nColumn ) const override;
}

Function overload based on different integer types, one virtual, the
other not. <sarcasm> What could possibly go wrong? </sarcasm>

I'm tempted to rename one of the two... if it is LibreOffice-internal
only. I'm afraid both are part of our public API, but I'm not sure how
to check that again.

Any thoughts on that?

-- 
Lionel
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux