callcatcher/unusedcode.easy: writeDBLoaderInfo function in dbloader.cxx

Lionel Elie Mamane lionel at mamane.lu
Sat Aug 31 22:41:05 PDT 2013


On Sat, Aug 31, 2013 at 10:38:09PM -0700, Lionel Elie Mamane wrote:
> On Sat, Aug 31, 2013 at 02:26:43PM -0700, julien2412 [via Document Foundation Mail Archive] wrote:

>>     153 extern "C" void SAL_CALL writeDBLoaderInfo(void* pRegistryKey)

>> (see
>> http://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/browser/dbloader.cxx#153)


> And searching more, I see that this function is actually never
> called... It is not in any header file of the sdk (not in _any_ header
> actually), so it can't be part of our public API (nor of our internal
> API).

> So actually, in this case, remove the whole function. And also the
> function of the same name in
> dbaccess/source/filter/xml/dbloader2.cxx

How come callcatcher / unusedcode.easy didn't catch this?

-- 
Lionel


More information about the LibreOffice mailing list