diff options
Diffstat (limited to 'WebCore/platform/text/qt/TextBoundaries.cpp')
-rw-r--r-- | WebCore/platform/text/qt/TextBoundaries.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/WebCore/platform/text/qt/TextBoundaries.cpp b/WebCore/platform/text/qt/TextBoundaries.cpp index bdc851b..ffc4c44 100644 --- a/WebCore/platform/text/qt/TextBoundaries.cpp +++ b/WebCore/platform/text/qt/TextBoundaries.cpp @@ -39,8 +39,7 @@ #if QT_VERSION >= 0x040400 #include <qtextboundaryfinder.h> -namespace WebCore -{ +namespace WebCore { int findNextWordFromIndex(UChar const* buffer, int len, int position, bool forward) { @@ -78,9 +77,8 @@ void findWordBoundary(UChar const* buffer, int len, int position, int* start, in } #else -namespace WebCore -{ - +namespace WebCore { + int findNextWordFromIndex(UChar const* buffer, int len, int position, bool forward) { QString str(reinterpret_cast<QChar const*>(buffer), len); |