Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


On 02/18/2014 05:53 PM, Stephan Bergmann wrote:

While a well-designed interface between a base class and its derivations (of which virtual functions are a part) is desirable, a virtual function carries a relatively high maintenance cost. So please never declare functions as virtual until they actually need to be.
ah...makes sense.

Just pushed <http://cgit.freedesktop.org/libreoffice/core/commit/?id=042725a5dadc9f2c6368ca451b6d20046129b8af> "Stick to a single O[U]String hash function" based on what we discussed here. Hope it still matches the requirements of SfxItemSet::getHash and SdPage::getHash (where I must confess that I don't understand what those requirements are) as well as the requirements of the svl::SharedStringPool clients (see the commit message for details).
Thank you!
It seems fine from what I checked - I will do check it in detail sometime this week - I don't see any problems though.

Thank you so much!
Muthu Subramanian


Stephan


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.