summaryrefslogtreecommitdiff
path: root/tools/aapt/XMLNode.cpp
diff options
context:
space:
mode:
author Patrick Scott <phanna@android.com> 2010-10-21 14:53:40 -0400
committer Patrick Scott <phanna@android.com> 2010-10-26 13:22:17 -0400
commit4f145c9674f814939cc91f699efe538b6c18cba0 (patch)
treeb1bbbde3205e0fbf054c21a9760375beab29070e /tools/aapt/XMLNode.cpp
parent48c9daac20dcae18bf45e528fd073612bc0122e1 (diff)
Fix debug statements and aapt assert.
ENABLE_PSEUDOLOCALIZE seems to not exist. Change-Id: Ifef771a96938c7ff0f8b664142bb502030b8c543
Diffstat (limited to 'tools/aapt/XMLNode.cpp')
-rw-r--r--tools/aapt/XMLNode.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/aapt/XMLNode.cpp b/tools/aapt/XMLNode.cpp
index cee85469c848..8551b0f9c903 100644
--- a/tools/aapt/XMLNode.cpp
+++ b/tools/aapt/XMLNode.cpp
@@ -203,13 +203,9 @@ status_t parseStyledString(Bundle* bundle,
}
}
if (xliffDepth == 0 && pseudolocalize) {
-#ifdef ENABLE_PSEUDOLOCALIZE
std::string orig(String8(text).string());
std::string pseudo = pseudolocalize_string(orig);
curString.append(String16(String8(pseudo.c_str())));
-#else
- assert(false);
-#endif
} else {
if (isFormatted && hasSubstitutionErrors(fileName, inXml, text) != NO_ERROR) {
return UNKNOWN_ERROR;