Index: source/common/brkiter.cpp |
diff --git a/source/common/brkiter.cpp b/source/common/brkiter.cpp |
index 26f7b6a82e8b8981dce42a08d8fca6a2a42e81cc..41da826748370ad5caff57191e8c0f2f0da12c3e 100644 |
--- a/source/common/brkiter.cpp |
+++ b/source/common/brkiter.cpp |
@@ -436,6 +436,13 @@ BreakIterator::getLocaleID(ULocDataLocaleType type, UErrorCode& status) const { |
return locBased.getLocaleID(type, status); |
} |
+// This implementation of getRuleStatus is a do-nothing stub, here to |
+// provide a default implementation for any derived BreakIterator classes that |
+// do not implement it themselves. |
+int32_t BreakIterator::getRuleStatus() const { |
+ return 0; |
+} |
+ |
U_NAMESPACE_END |
#endif /* #if !UCONFIG_NO_BREAK_ITERATION */ |