> > Function overload based on different integer types, one virtual, the
>
>
Sadly, our code is full of using the same member function names over and
over, with different semantics, using the number and types of parameters to
differentiate. Another example: OutputDevice::SetLineColor() and
OutputDevice::SetLineColor( const Color& rColor ) where the first case
actually means "set NO line color (transparent)". Obviously (sarcasm)
calling it "SetTransparentLineColor" or "SetNoLineColor" would have been
too obvious.

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

Reply via email to