]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathExtern.cpp
Move <algorithm> from DocIterator.h
[lyx.git] / src / mathed / MathExtern.cpp
index 18340e11c89eb46944d4730c4cad355a2d29e459..4d53b28245679d47f90fbad8591f7395c9339601 100644 (file)
@@ -75,7 +75,7 @@ static char const * function_names[] = {
        "det", "dim", "exp", "gcd", "hom", "inf", "ker",
        "lg", "lim", "liminf", "limsup", "ln", "log",
        "max", "min", "sec", "sin", "sinh", "sup",
-       "tan", "tanh", "Pr", 0
+       "tan", "tanh", "Pr", nullptr
 };
 
 static size_t const npos = lyx::docstring::npos;
@@ -1454,7 +1454,7 @@ void writeString(docstring const & s, WriteStream & os)
                                case WriteStream::wsDefault:
                                default:
                                        // throw again
-                                       throw(e);
+                                       throw;
                                }
                        }
                }
@@ -1528,7 +1528,7 @@ void writeString(docstring const & s, WriteStream & os)
                        case WriteStream::wsDefault:
                        default:
                                // throw again
-                               throw(e);
+                               throw;
                        }
                }
        }