]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_panel.C
Hopefully fix the problem with stateText() in lyxfont.C
[lyx.git] / src / mathed / math_panel.C
index a5804d7b434b4b7ffc9e3de144bc77bb9cd95ef3..6c10630a86b5cbaa0287ecfb66e533c19ac096ed 100644 (file)
@@ -6,7 +6,7 @@
  * 
  *  Dependencies: Xlib, Xpm, XForms, Lyx
  *
- *  Copyright: (c) 1996, Alejandro Aguilar Sierra 
+ *  Copyright: 1996, Alejandro Aguilar Sierra 
  *
  *   You are free to use and modify it under the terms of
  *   the GNU General Public Licence version 2 or later.
@@ -147,7 +147,7 @@ void delim_cb(FL_OBJECT *, long data)
     case MM_OK:
       {
 #ifdef HAVE_SSTREAM
-             ostringstream ost;
+             std::ostringstream ost;
              ost << delim_code[left] << ' ' << delim_code[right];
              lyxfunc->Dispatch(LFUN_MATH_DELIM, ost.str().c_str());
 #else
@@ -206,7 +206,7 @@ void matrix_cb(FL_OBJECT *, long data)
         int ny = int(fl_get_slider_value(fd_matrix->rows)+0.5);
         if (data == MM_OK) fl_hide_form(fd_matrix->matrix);
 #ifdef HAVE_SSTREAM
-        ostringstream ost;
+        std::ostringstream ost;
         ost << nx << ' ' << ny << ' ' << c << sh;
         lyxfunc->Dispatch(LFUN_INSERT_MATRIX, ost.str().c_str());
 #else