aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/filters/thmlosis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/filters/thmlosis.cpp')
-rw-r--r--src/modules/filters/thmlosis.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/modules/filters/thmlosis.cpp b/src/modules/filters/thmlosis.cpp
index 57d48d2..6af983d 100644
--- a/src/modules/filters/thmlosis.cpp
+++ b/src/modules/filters/thmlosis.cpp
@@ -7,7 +7,7 @@
#include <stdlib.h>
#include <stdio.h>
-#include <string.h>
+#include <string>
#include <stdarg.h>
#include <thmlosis.h>
#include <swmodule.h>
@@ -18,6 +18,7 @@
#include <unixstr.h>
#endif
+SWORD_NAMESPACE_START
ThMLOSIS::ThMLOSIS() {
}
@@ -44,7 +45,7 @@ char ThMLOSIS::ProcessText(char *text, int maxlen, const SWKey *key, const SWMod
char *wordStart, *wordEnd;
bool newText = false;
bool newWord = false;
- string tmp;
+ std::string tmp;
bool suspendTextPassThru = false;
bool keepToken = false;
@@ -303,7 +304,7 @@ void ThMLOSIS::pushString(char **buf, const char *format, ...) {
const char *ThMLOSIS::convertToOSIS(const char *inRef, const SWKey *key) {
- static string outRef;
+ static std::string outRef;
outRef = "";
@@ -330,3 +331,5 @@ const char *ThMLOSIS::convertToOSIS(const char *inRef, const SWKey *key) {
}
return outRef.c_str();
}
+
+SWORD_NAMESPACE_END