summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-09-02 22:49:20 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-09-02 22:50:17 +0200
commitfd636fe7222bf4193245be2e7bdf179b534171df (patch)
tree22d95f5eb3c7d797d9a3c84391fbefd4c5306b83 /dbaccess
parent91a557561c24c7532c525692f279b1fcfd520f92 (diff)
Remove unused writeDBLoaderInfo
See http://nabble.documentfoundation.org/About-writeDBLoaderInfo-function-in-dbloader-cxx-dbaccess-module-td4072511.html Change-Id: I11b8ff569eaaa8ddcaf105e45ef4ee189e71c183
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/filter/xml/dbloader2.cxx16
-rw-r--r--dbaccess/source/ui/browser/dbloader.cxx18
-rw-r--r--dbaccess/source/ui/misc/uiservices.cxx1
3 files changed, 0 insertions, 35 deletions
diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx
index 871b461c767a..9f4bc18c0e2d 100644
--- a/dbaccess/source/filter/xml/dbloader2.cxx
+++ b/dbaccess/source/filter/xml/dbloader2.cxx
@@ -602,20 +602,4 @@ extern "C" void SAL_CALL createRegistryInfo_DBContentLoader2()
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: */
diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx
index 4983681d79fb..7f90c9260900 100644
--- a/dbaccess/source/ui/browser/dbloader.cxx
+++ b/dbaccess/source/ui/browser/dbloader.cxx
@@ -150,24 +150,6 @@ Sequence< OUString > DBContentLoader::getSupportedServiceNames_Static(void) thro
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,
const Sequence< PropertyValue >& rArgs,
const Reference< XLoadEventListener > & rListener) throw(::com::sun::star::uno::RuntimeException)
diff --git a/dbaccess/source/ui/misc/uiservices.cxx b/dbaccess/source/ui/misc/uiservices.cxx
index 33efa885a0aa..78c1018aac71 100644
--- a/dbaccess/source/ui/misc/uiservices.cxx
+++ b/dbaccess/source/ui/misc/uiservices.cxx
@@ -35,7 +35,6 @@ extern "C" void SAL_CALL createRegistryInfo_OSQLMessageDialog();
extern "C" void SAL_CALL createRegistryInfo_OBrowser();
extern "C" void SAL_CALL createRegistryInfo_OFormGridView();
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_SbaXGridControl();
extern "C" void SAL_CALL createRegistryInfo_OQueryControl();