diff options
author | Oz Linden <oz@lindenlab.com> | 2012-01-25 11:34:22 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-01-25 11:34:22 -0500 |
commit | 8758c7b8415a1cb67c504f142f96b5a7fec296d2 (patch) | |
tree | 0cb7666b1f3ef694381bab8b815342d9a4af5742 /indra/integration_tests/llui_libtest/llui_libtest.cpp | |
parent | eee7b77ed80b7f966f68a0a5536c88d59cc3f6b2 (diff) |
storm-1738: mock autocorrect to allow building the llui_libtest integration test
Diffstat (limited to 'indra/integration_tests/llui_libtest/llui_libtest.cpp')
-rw-r--r-- | indra/integration_tests/llui_libtest/llui_libtest.cpp | 11 |
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(); |