/**
- * \file checkedwidgets.C
+ * \file xforms/checkedwidgets.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
#include "checkedwidgets.h"
#include "xforms_helpers.h"
-#include "lyxlength.h"
#include "lyxgluelength.h"
-#include "support/LAssert.h"
+
#include "support/lstrings.h"
-#include "LString.h"
#include "lyx_forms.h"
-using namespace lyx::support;
+using lyx::support::isStrDbl;
+
+using std::string;
+
void addCheckedLyXLength(BCView & bcview,
FL_OBJECT * input, FL_OBJECT * label)
CheckedLyXLength::CheckedLyXLength(FL_OBJECT * input, FL_OBJECT * label)
: input_(input), label_(label ? label : input)
{
- Assert(input && input->objclass == FL_INPUT);
+ BOOST_ASSERT(input && input->objclass == FL_INPUT);
}
CheckedGlueLength::CheckedGlueLength(FL_OBJECT * input, FL_OBJECT * label)
: input_(input), label_(label ? label : input)
{
- Assert(input && input->objclass == FL_INPUT);
+ BOOST_ASSERT(input && input->objclass == FL_INPUT);
}