]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/RadioButtonGroup.C
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / RadioButtonGroup.C
index 7d20b97a2ad512bc7e909298c8b8a82f4682c119..21fdb673b0b2fbd1606aba8014befb5820578718 100644 (file)
@@ -1,10 +1,9 @@
-// -*- 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
  * ================================================= */
@@ -73,7 +72,7 @@ void RadioButtonGroup::setButton(int value)
                << endl;
        }
        else {
-               fl_set_button((*it).first, 1);
+               fl_set_button(it->first, 1);
        }
 
 }
@@ -95,7 +94,7 @@ int RadioButtonGroup::getButton()
 
        // 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;