summaryrefslogtreecommitdiff
path: root/tools/aapt/XMLNode.cpp
diff options
context:
space:
mode:
author Patrick Scott <phanna@android.com> 2010-10-26 11:26:19 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-10-26 11:26:19 -0700
commitbb8300e155755afba6c51bbd790bd5599f0ae7cc (patch)
tree0f28c81bf965ad9ef4387f7ed81d8028c18af184 /tools/aapt/XMLNode.cpp
parent78098341f86b4c71256017ca2b33674d6bcab046 (diff)
parent4f145c9674f814939cc91f699efe538b6c18cba0 (diff)
Merge "Fix debug statements and aapt assert."
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;