From 9ed4414232dc652ea9419e6b673765fb45ccd564 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 3 Nov 2019 13:17:15 -0500 Subject: Issue mcp-graveyard/UXP#1258 - Part 2: Use binoc-central version of ldap --- ldap/xpcom/src/moz.build | 2 +- ldap/xpcom/src/nsLDAPURL.cpp | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) (limited to 'ldap/xpcom') diff --git a/ldap/xpcom/src/moz.build b/ldap/xpcom/src/moz.build index 06753e3173..dc63d61187 100644 --- a/ldap/xpcom/src/moz.build +++ b/ldap/xpcom/src/moz.build @@ -48,6 +48,6 @@ else: FINAL_LIBRARY = 'xul' LOCAL_INCLUDES += [ - '/ldap/c-sdk/include', + '../../c-sdk/include', ] diff --git a/ldap/xpcom/src/nsLDAPURL.cpp b/ldap/xpcom/src/nsLDAPURL.cpp index 3757438486..752ee5b3bf 100644 --- a/ldap/xpcom/src/nsLDAPURL.cpp +++ b/ldap/xpcom/src/nsLDAPURL.cpp @@ -723,3 +723,28 @@ nsLDAPURL::GetHasRef(bool *result) { return mBaseURL->GetHasRef(result); } + + +NS_IMETHODIMP +nsLDAPURL::GetFilePath(nsACString &aFilePath) +{ + return mBaseURL->GetFilePath(aFilePath); +} + +NS_IMETHODIMP +nsLDAPURL::SetFilePath(const nsACString &aFilePath) +{ + return mBaseURL->SetFilePath(aFilePath); +} + +NS_IMETHODIMP +nsLDAPURL::GetQuery(nsACString &aQuery) +{ + return mBaseURL->GetQuery(aQuery); +} + +NS_IMETHODIMP +nsLDAPURL::SetQuery(const nsACString &aQuery) +{ + return mBaseURL->SetQuery(aQuery); +} \ No newline at end of file -- cgit v1.2.3