summaryrefslogtreecommitdiff
path: root/indra/integration_tests/llui_libtest
diff options
context:
space:
mode:
Diffstat (limited to 'indra/integration_tests/llui_libtest')
-rw-r--r--indra/integration_tests/llui_libtest/llui_libtest.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/integration_tests/llui_libtest/llui_libtest.cpp b/indra/integration_tests/llui_libtest/llui_libtest.cpp
index 217e26c3ca..af0cb7c301 100644
--- a/indra/integration_tests/llui_libtest/llui_libtest.cpp
+++ b/indra/integration_tests/llui_libtest/llui_libtest.cpp
@@ -31,6 +31,7 @@
#include "llwidgetreg.h"
// linden library includes
+#include "llautocorrect.h"
#include "llcontrol.h" // LLControlGroup
#include "lldir.h"
#include "lldiriterator.h"
@@ -107,6 +108,16 @@ public:
};
TestImageProvider gTestImageProvider;
+// Mock Autocorrect
+AutoCorrect* AutoCorrect::getInstance()
+{
+ return NULL;
+}
+std::string AutoCorrect::replaceWord(std::string currentWord)
+{
+ return currentWord;
+}
+
static std::string get_xui_dir()
{
std::string delim = gDirUtilp->getDirDelimiter();