]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlength.C
fix reading the author field.
[lyx.git] / src / lyxlength.C
index 8ca01187834022cab315abb9dc14cd02622d6756..027e17b21a67e7789b5e185115f6d03791cc2d78 100644 (file)
 #include "lengthcommon.h"
 #include "lyxrc.h"
 
+#include <sstream>
 
-#include "support/std_sstream.h"
 
-using std::abs;
 using std::ostringstream;
 using std::string;
 
@@ -146,10 +145,6 @@ int LyXLength::inPixels(int text_width, int em_width_base) const
        // between lengths and font sizes on the screen
        // is the same as on paper.
 
-#ifdef WITH_WARNINGS
-#warning if you don't care than either call this function differently or let it return negative values and call abs() explicitly when needed (Andre')
-#endif
-
        double result = 0.0;
 
        switch (unit_) {