Skip to content

Commit

Permalink
Bug 782412 - Part 1: Rename UCS2BE to UTF16. r=smontagu
Browse files Browse the repository at this point in the history
  • Loading branch information
vyv03354 committed Nov 27, 2012
1 parent 921598f commit d98d067
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions intl/uconv/src/nsUConvModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
#include "nsVPSToUnicode.h"
#include "nsUTF7ToUnicode.h"
#include "nsMUTF7ToUnicode.h"
#include "nsUCS2BEToUnicode.h"
#include "nsUTF16ToUnicode.h"
#include "nsT61ToUnicode.h"
#include "nsUserDefinedToUnicode.h"
#include "nsUnicodeToAscii.h"
Expand Down Expand Up @@ -136,7 +136,7 @@
#include "nsUnicodeToVPS.h"
#include "nsUnicodeToUTF7.h"
#include "nsUnicodeToMUTF7.h"
#include "nsUnicodeToUCS2BE.h"
#include "nsUnicodeToUTF16.h"
#include "nsUnicodeToT61.h"
#include "nsUnicodeToUserDefined.h"
#include "nsUnicodeToSymbol.h"
Expand Down
4 changes: 2 additions & 2 deletions intl/uconv/ucvlatin/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ CPPSRCS = \
nsVPSToUnicode.cpp \
nsUTF7ToUnicode.cpp \
nsMUTF7ToUnicode.cpp \
nsUCS2BEToUnicode.cpp \
nsUTF16ToUnicode.cpp \
nsT61ToUnicode.cpp \
nsUserDefinedToUnicode.cpp \
nsUnicodeToAscii.cpp \
Expand Down Expand Up @@ -124,7 +124,7 @@ CPPSRCS = \
nsUnicodeToVPS.cpp \
nsUnicodeToUTF7.cpp \
nsUnicodeToMUTF7.cpp \
nsUnicodeToUCS2BE.cpp \
nsUnicodeToUTF16.cpp \
nsUnicodeToT61.cpp \
nsUnicodeToUserDefined.cpp \
nsUnicodeToSymbol.cpp \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsUCConstructors.h"
#include "nsUCS2BEToUnicode.h"
#include "nsUTF16ToUnicode.h"
#include "nsUCvLatinDll.h"
#include "nsCharTraits.h"
#include <string.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef nsUCS2BEToUnicode_h___
#define nsUCS2BEToUnicode_h___
#ifndef nsUTF16ToUnicode_h_
#define nsUTF16ToUnicode_h_

#include "nsISupports.h"
#include "nsUCSupport.h"
Expand Down Expand Up @@ -70,4 +70,4 @@ class nsUTF16ToUnicode : public nsUTF16ToUnicodeBase
bool mFoundBOM;
};

#endif /* nsUCS2BEToUnicode_h___ */
#endif /* nsUTF16ToUnicode_h_ */
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsUnicodeToUCS2BE.h"
#include "nsUnicodeToUTF16.h"
#include <string.h>

inline static void SwapBytes(char *aDest, const PRUnichar* aSrc, int32_t aLen);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef nsUnicodeToUCS2BE_h___
#define nsUnicodeToUCS2BE_h___
#ifndef nsUnicodeToUTF16_h_
#define nsUnicodeToUTF16_h_

#include "nsUCSupport.h"

Expand Down Expand Up @@ -53,4 +53,4 @@ class nsUnicodeToUTF16: public nsUnicodeToUTF16BE
nsUnicodeToUTF16() { mBOM = 0xFEFF;}
};

#endif /* nsUnicodeToUCS2BE_h___ */
#endif /* nsUnicodeToUTF16_h_ */

0 comments on commit d98d067

Please sign in to comment.