]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Tooltips.C
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / Tooltips.C
index 693063ea5af4b40eb67cdc7df6a7a0b74c29cfbc..dc741ca98e0181db71c59a85be374814d2a595df 100644 (file)
 
 #include <config.h>
 
-
 #include "Tooltips.h"
+
 #include "xforms_helpers.h" // formatted
-#include "gettext.h"
+
 #include "support/lstrings.h"
-#include "support/LAssert.h"
+
 #include "lyx_forms.h"
 
 #include <boost/bind.hpp>
 
-using namespace lyx::support;
+using lyx::support::trim;
+
+using std::string;
+
 
 bool Tooltips::enabled_ = true;
 
@@ -63,7 +66,7 @@ void Tooltips::set()
 
 void Tooltips::init(FL_OBJECT * ob, string const & tip)
 {
-       Assert(ob && ob->form);
+       BOOST_ASSERT(ob && ob->form);
 
        // Store the tooltip string
        string const str = formatted(trim(tip), 400);