Bug 655475 - Remove WinCE code from I18N; r=smontagu

This commit is contained in:
Ed Morley 2011-05-08 19:46:10 +02:00
parent 785a1e559b
commit 74ba4e695f
3 changed files with 0 additions and 10 deletions

View File

@ -102,7 +102,5 @@ EXTRA_DSO_LDOPTS += \
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
ifndef WINCE
OS_LIBS += $(call EXPAND_LIBNAME,usp10)
endif
endif

View File

@ -129,11 +129,9 @@ NS_IMETHODIMP nsCollationWin::CompareString(PRInt32 strength,
nsresult res;
DWORD dwMapFlags = 0;
#ifndef WINCE // NORM_IGNORECASE is not supported on WINCE
if (strength == kCollationCaseInSensitive)
dwMapFlags |= NORM_IGNORECASE;
#endif
retval = ::CompareStringW(mLCID,
dwMapFlags,
(LPCWSTR) PromiseFlatString(string1).get(),

View File

@ -43,9 +43,7 @@
#include <windows.h>
#ifndef WINCE
#include <usp10.h>
#endif
#include "nsUTF8Utils.h"
#include "nsString.h"
@ -57,9 +55,6 @@ NS_GetComplexLineBreaks(const PRUnichar* aText, PRUint32 aLength,
{
NS_ASSERTION(aText, "aText shouldn't be null");
#ifdef WINCE
memset(aBreakBefore, PR_FALSE, aLength);
#else
int outItems = 0;
HRESULT result;
nsAutoTArray<SCRIPT_ITEM, 64> items;
@ -94,5 +89,4 @@ NS_GetComplexLineBreaks(const PRUnichar* aText, PRUint32 aLength,
aBreakBefore[j+startOffset] = sla[j].fSoftBreak;
}
}
#endif
}