]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/RadioButtonGroup.C
Tiny clean-ups.
[lyx.git] / src / frontends / xforms / RadioButtonGroup.C
index 51b28c7093b9418c8e5a35eb9877a90b437f7e89..7509b78378984e6af58bf8b5697dadd3a503d24a 100644 (file)
 
 #include "debug.h"
 
-#include "support/LAssert.h"
 #include "support/lyxfunctional.h"
 
 #include "lyx_forms.h"
 
-using namespace lyx::support;
+#include <boost/assert.hpp>
 
 using std::endl;
 
@@ -31,7 +30,7 @@ void RadioButtonGroup::init(FL_OBJECT * ob, size_type value)
 {
        // Object must be a ROUND3DBUTTON (let all radio buttons look the same)
        // and of type RADIO_BUTTON (otherwise it ain't work).
-       Assert(ob && ob->objclass == FL_ROUND3DBUTTON
+       BOOST_ASSERT(ob && ob->objclass == FL_ROUND3DBUTTON
                        && ob->type == FL_RADIO_BUTTON);
 
        map.push_back(ButtonValuePair(ob, value));