-// -*- C++ -*-
/* This file is part of
* =================================================
*
* LyX, The Document Processor
* Copyright 1995 Matthias Ettrich.
- * Copyright 1995-2000 The LyX Team.
+ * Copyright 1995-2001 The LyX Team.
*
* This file Copyright 2000 Baruch Even
* ================================================= */
#include <config.h>
+#include <functional>
+#include <algorithm>
+#include <iterator>
+
#ifdef __GNUG__
#pragma implementation
#endif
#include "debug.h" // for lyxerr
-#include <functional>
-#include <algorithm>
-#include <iterator>
using std::find_if;
using std::bind2nd;
using std::endl;
<< endl;
}
else {
- fl_set_button((*it).first, 1);
+ fl_set_button(it->first, 1);
}
}
// If such a button was found, return its value.
if (it != map.end()) {
- return (*it).second;
+ return it->second;
}
lyxerr << "BUG: No radio button found to be active." << endl;