Apache OpenOffice (AOO) Bugzilla – Issue 92206
cppuhelper: unused argument in OMultiTypeInterfaceContainerHelperVar
Last modified: 2013-01-29 21:40:48 UTC
Looking at the last unexplained unused method in configmgr (i.e. http://people.redhat.com/caolanm/callcatcher/DEV300_m27/configmgr.callcatcher.log "configmgr::configuration::SubNodeID::hashCode() const") I see that the result is correct, and due to something slightly interesting. In the OMultiTypeInterfaceContainerHelperVar template in cppuhelper the "hashImpl" class argument is unused, which is the side-effect of the change of #i72766# from a map to a vector in ver 1.6 to 1.7 of interfacecontainer.hxx So, are we stuck with the API as it is, i.e. carrying around the unused class and there's nothing we can really do about it ? Or can we change it to remove that argument ? Its super-minor I guess, just a wrinkle where we need a class to compile, but we don't use it.