diff options
Diffstat (limited to 'WebCore/platform/text/qt/TextBreakIteratorQt.cpp')
-rw-r--r-- | WebCore/platform/text/qt/TextBreakIteratorQt.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/platform/text/qt/TextBreakIteratorQt.cpp b/WebCore/platform/text/qt/TextBreakIteratorQt.cpp index dda443f..b9f5a9e 100644 --- a/WebCore/platform/text/qt/TextBreakIteratorQt.cpp +++ b/WebCore/platform/text/qt/TextBreakIteratorQt.cpp @@ -33,6 +33,12 @@ namespace WebCore { +#if USE(QT_ICU_TEXT_BREAKING) +const char* currentTextBreakLocaleID() +{ + return QLocale::system().name().toLatin1(); +} +#else static unsigned char buffer[1024]; class TextBreakIterator : public QTextBoundaryFinder { @@ -135,5 +141,6 @@ namespace WebCore { { return true; } +#endif } |