]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExFunc.cpp
A little cleanup of the layout files.
[lyx.git] / src / mathed / InsetMathExFunc.cpp
index 360f1c17ef82299412212991b192fde51b754992..990040ef7c91001ba3ec030790ff3731f3f8b26b 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 
 #include "support/docstream.h"
 
+using namespace std;
 
 namespace lyx {
 
-using std::string;
-
 
 InsetMathExFunc::InsetMathExFunc(docstring const & name)
        : InsetMathNest(1), name_(name)
@@ -46,8 +45,6 @@ Inset * InsetMathExFunc::clone() const
 void InsetMathExFunc::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        mathed_string_dim(mi.base.font, name_, dim);
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }