summaryrefslogtreecommitdiff
path: root/indra/integration_tests/llui_libtest/llui_libtest.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2012-02-01 10:16:13 -0500
committerJonathan Yap <none@none>2012-02-01 10:16:13 -0500
commit4778d82ec6b735d6f3d3a4335496e9b6d804bbf7 (patch)
treee8c978642b19fc3930e826fae42463b4334ab7aa /indra/integration_tests/llui_libtest/llui_libtest.cpp
parent4ef9277761b5faee2825177112939b72c563a4ea (diff)
parent8758c7b8415a1cb67c504f142f96b5a7fec296d2 (diff)
STORM-1738 Initial callback work
warn-on-failure:open-license
Diffstat (limited to 'indra/integration_tests/llui_libtest/llui_libtest.cpp')
-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();