summaryrefslogtreecommitdiff
path: root/dw/hyphenator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/hyphenator.cc')
-rw-r--r--dw/hyphenator.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/dw/hyphenator.cc b/dw/hyphenator.cc
index 258bbafb..7a1f5df7 100644
--- a/dw/hyphenator.cc
+++ b/dw/hyphenator.cc
@@ -82,7 +82,7 @@ Hyphenator *Hyphenator::getHyphenator (core::Platform *platform,
TypedPair <TypedPointer <core::Platform>, ConstString> *pair =
new TypedPair <TypedPointer <core::Platform>,
ConstString> (new TypedPointer <core::Platform> (platform),
- new ConstString (lang));
+ new String (lang));
Hyphenator *hyphenator = hyphenators->get (pair);
if (hyphenator)
@@ -101,6 +101,10 @@ Hyphenator *Hyphenator::getHyphenator (core::Platform *platform,
hyphenators->put (pair, hyphenator);
}
+ //lout::misc::StringBuffer sb;
+ //hyphenators->intoStringBuffer (&sb);
+ //printf ("%s\n", sb.getChars ());
+
return hyphenator;
}