]> git.lyx.org Git - lyx.git/blobdiff - src/Thesaurus.C
hopefully fix tex2lyx linking.
[lyx.git] / src / Thesaurus.C
index 6013a96007da3692fb2e7e709791d31efc712b77..af37e4df6629fc8dcbeba25b9a61317b01adf7c5 100644 (file)
 
 #include "Thesaurus.h"
 
-#ifdef HAVE_LIBAIKSAURUS
-
 #include <algorithm>
+#include <string>
+
+
+namespace lyx {
+
+using std::string;
+
+#ifdef HAVE_LIBAIKSAURUS
 
 using std::sort;
 
+
 Thesaurus::Thesaurus()
-{
-       aik_ = new Aiksaurus;
-}
+       : aik_(new Aiksaurus)
+{}
 
 
 Thesaurus::~Thesaurus()
@@ -89,3 +95,6 @@ Thesaurus::Meanings Thesaurus::lookup(string const &)
 
 // Global instance
 Thesaurus thesaurus;
+
+
+} // namespace lyx