Remove unused writeDBLoaderInfo
See http://nabble.documentfoundation.org/About-writeDBLoaderInfo-function-in-dbloader-cxx-dbaccess-module-td4072511.html Change-Id: I11b8ff569eaaa8ddcaf105e45ef4ee189e71c183
This commit is contained in:
@@ -602,20 +602,4 @@ extern "C" void SAL_CALL createRegistryInfo_DBContentLoader2()
|
|||||||
static ::dbaxml::OMultiInstanceAutoRegistration< ::dbaxml::DBContentLoader > aAutoRegistration;
|
static ::dbaxml::OMultiInstanceAutoRegistration< ::dbaxml::DBContentLoader > aAutoRegistration;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void SAL_CALL writeDBLoaderInfo2(void* pRegistryKey)
|
|
||||||
{
|
|
||||||
Reference< XRegistryKey> xKey(reinterpret_cast< XRegistryKey*>(pRegistryKey));
|
|
||||||
|
|
||||||
// register content loader for dispatch
|
|
||||||
OUString aImpl("/");
|
|
||||||
aImpl += ::dbaxml::DBContentLoader::getImplementationName_Static();
|
|
||||||
|
|
||||||
OUString aImpltwo = aImpl + "/UNO/Loader";
|
|
||||||
Reference< XRegistryKey> xNewKey = xKey->createKey( aImpltwo );
|
|
||||||
aImpltwo = aImpl + "/Loader";
|
|
||||||
Reference< XRegistryKey > xLoaderKey = xKey->createKey( aImpltwo );
|
|
||||||
xNewKey = xLoaderKey->createKey( OUString("Pattern") );
|
|
||||||
xNewKey->setAsciiValue( OUString("private:factory/sdatabase") );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -150,24 +150,6 @@ Sequence< OUString > DBContentLoader::getSupportedServiceNames_Static(void) thro
|
|||||||
return aSNS;
|
return aSNS;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void SAL_CALL writeDBLoaderInfo(void* pRegistryKey)
|
|
||||||
{
|
|
||||||
Reference< XRegistryKey> xKey(reinterpret_cast< XRegistryKey*>(pRegistryKey));
|
|
||||||
|
|
||||||
// register content loader for dispatch
|
|
||||||
OUString aImpl("/");
|
|
||||||
aImpl += DBContentLoader::getImplementationName_Static();
|
|
||||||
|
|
||||||
OUString aImpltwo = aImpl;
|
|
||||||
aImpltwo += "/UNO/Loader";
|
|
||||||
Reference< XRegistryKey> xNewKey = xKey->createKey( aImpltwo );
|
|
||||||
aImpltwo = aImpl;
|
|
||||||
aImpltwo += "/Loader";
|
|
||||||
Reference< XRegistryKey > xLoaderKey = xKey->createKey( aImpltwo );
|
|
||||||
xNewKey = xLoaderKey->createKey( OUString("Pattern") );
|
|
||||||
xNewKey->setAsciiValue( OUString(".component:DB*") );
|
|
||||||
}
|
|
||||||
|
|
||||||
void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OUString& rURL,
|
void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OUString& rURL,
|
||||||
const Sequence< PropertyValue >& rArgs,
|
const Sequence< PropertyValue >& rArgs,
|
||||||
const Reference< XLoadEventListener > & rListener) throw(::com::sun::star::uno::RuntimeException)
|
const Reference< XLoadEventListener > & rListener) throw(::com::sun::star::uno::RuntimeException)
|
||||||
|
@@ -35,7 +35,6 @@ extern "C" void SAL_CALL createRegistryInfo_OSQLMessageDialog();
|
|||||||
extern "C" void SAL_CALL createRegistryInfo_OBrowser();
|
extern "C" void SAL_CALL createRegistryInfo_OBrowser();
|
||||||
extern "C" void SAL_CALL createRegistryInfo_OFormGridView();
|
extern "C" void SAL_CALL createRegistryInfo_OFormGridView();
|
||||||
extern "C" void SAL_CALL createRegistryInfo_DBContentLoader();
|
extern "C" void SAL_CALL createRegistryInfo_DBContentLoader();
|
||||||
extern "C" void SAL_CALL writeDBLoaderInfo(void* pRegistryKey);
|
|
||||||
extern "C" void SAL_CALL createRegistryInfo_OInteractionHandler();
|
extern "C" void SAL_CALL createRegistryInfo_OInteractionHandler();
|
||||||
extern "C" void SAL_CALL createRegistryInfo_SbaXGridControl();
|
extern "C" void SAL_CALL createRegistryInfo_SbaXGridControl();
|
||||||
extern "C" void SAL_CALL createRegistryInfo_OQueryControl();
|
extern "C" void SAL_CALL createRegistryInfo_OQueryControl();
|
||||||
|
Reference in New Issue
Block a user