From e0537210571a71838971d4c46f567f1b06add7ee Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 20 Jun 2014 18:23:47 +0200 Subject: [PATCH] mshtml: Remove nsAString_SetData() because it is unused. --- dlls/mshtml/mshtml_private.h | 1 - dlls/mshtml/nsembed.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h index 8be7141d1ea..8db2ba85d49 100644 --- a/dlls/mshtml/mshtml_private.h +++ b/dlls/mshtml/mshtml_private.h @@ -827,7 +827,6 @@ void nsACString_Finish(nsACString*) DECLSPEC_HIDDEN; BOOL nsAString_Init(nsAString*,const PRUnichar*) DECLSPEC_HIDDEN; void nsAString_InitDepend(nsAString*,const PRUnichar*) DECLSPEC_HIDDEN; -void nsAString_SetData(nsAString*,const PRUnichar*) DECLSPEC_HIDDEN; UINT32 nsAString_GetData(const nsAString*,const PRUnichar**) DECLSPEC_HIDDEN; void nsAString_Finish(nsAString*) DECLSPEC_HIDDEN; HRESULT return_nsstr(nsresult,nsAString*,BSTR*) DECLSPEC_HIDDEN; diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c index 18de331aa1d..fd87d3744fb 100644 --- a/dlls/mshtml/nsembed.c +++ b/dlls/mshtml/nsembed.c @@ -836,11 +836,6 @@ void nsAString_InitDepend(nsAString *str, const PRUnichar *data) NS_StringContainerInit2(str, data, PR_UINT32_MAX, NS_STRING_CONTAINER_INIT_DEPEND); } -void nsAString_SetData(nsAString *str, const PRUnichar *data) -{ - NS_StringSetData(str, data, PR_UINT32_MAX); -} - UINT32 nsAString_GetData(const nsAString *str, const PRUnichar **data) { return NS_StringGetData(str, data, NULL);