From 45ec1d9b56cec41596f806ebf845ebfcd30c9f46 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 23 Dec 2014 09:47:48 +0200 Subject: brute-force find-and-remove of unused #define constants. Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb --- connectivity/source/drivers/evoab2/NDriver.hxx | 5 ----- connectivity/source/drivers/mozab/bootstrap/MNSProfile.hxx | 1 - .../source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx | 1 - connectivity/source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx | 1 - 4 files changed, 8 deletions(-) (limited to 'connectivity/source') diff --git a/connectivity/source/drivers/evoab2/NDriver.hxx b/connectivity/source/drivers/evoab2/NDriver.hxx index 9b8fe33bb922..5c3026b261f1 100644 --- a/connectivity/source/drivers/evoab2/NDriver.hxx +++ b/connectivity/source/drivers/evoab2/NDriver.hxx @@ -27,11 +27,6 @@ #include #include -#define EVOAB_EVOLUTION_SCHEMA "evolution" -/*In Future, when separate schema is required for ldap, groupwise*/ -#define EVOAB_LDAP_SCHEMA "ldap" -#define EVOAB_GWISE_SCHEMA "groupwise" - #define EVOAB_DRIVER_IMPL_NAME "com.sun.star.comp.sdbc.evoab.OEvoabDriver" namespace connectivity diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfile.hxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfile.hxx index 5f407c4b69af..7d9e5bdba2ea 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MNSProfile.hxx +++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfile.hxx @@ -22,7 +22,6 @@ #include "mozilla_nsprofile.h" -#define _MAX_LENGTH 256 class nsProfile: public nsIProfileInternal, public nsIProfileChangeStatus, diff --git a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx index f0b6f17b6c56..7f93b874645e 100644 --- a/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx +++ b/connectivity/source/drivers/mozab/mozillasrc/MDatabaseMetaDataHelper.cxx @@ -191,7 +191,6 @@ static nsresult insertPABDescription() #define NS_RDF_DATASOURCE_CONTRACTID_PREFIX NS_RDF_DATASOURCE_CONTRACTID "?name=" #define NS_ABDIRECTORYDATASOURCE_CONTRACTID \ NS_RDF_DATASOURCE_CONTRACTID_PREFIX "addressdirectory" -#define database_uri "@mozilla.org/rdf/datasource;1?name=addressdirectory" #define NS_ABDIRECTORYDATASOURCE_CID \ { /* 0A79186D-F754-11d2-A2DA-001083003D0C */ \ 0xa79186d, 0xf754, 0x11d2, \ diff --git a/connectivity/source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx b/connectivity/source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx index eef642b89a89..5afbc95bdb51 100644 --- a/connectivity/source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx +++ b/connectivity/source/drivers/mozab/mozillasrc/MNSMozabProxy.cxx @@ -195,7 +195,6 @@ nsresult MNSMozabProxy::QueryHelperStub() #define NS_LDAPCONNECTION_CONTRACTID "@mozilla.org/network/ldap-connection;1" #define NS_LDAPOPERATION_CONTRACTID "@mozilla.org/network/ldap-operation;1" -#define NS_LDAPMESSAGE_CONTRACTID "@mozilla.org/network/ldap-message;1" #define NS_LDAPURL_CONTRACTID "@mozilla.org/network/ldap-url;1" namespace connectivity { -- cgit v1.2.3