]> git.lyx.org Git - lyx.git/blobdiff - src/FontInfo.cpp
EmbeddedObjects.lyx, Math.lyx, UserGuide.lyx: Spanish translation updates by Ignacio
[lyx.git] / src / FontInfo.cpp
index 2623f2ea232f1eb9a0fda85a84b93a1ae2ac1a61..c5b1c85a9b281a3f7f9894aa103c4fd07d52eeb7 100644 (file)
@@ -3,10 +3,10 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  * \author Angus Leeming
- * \author André Pönitz
+ * \author André Pönitz
  * \author Dekel Tsur
  *
  * Full author contact details are available in file CREDITS.
@@ -18,8 +18,6 @@
 
 #include "support/debug.h"
 
-#include <ostream>
-
 using namespace std;
 
 namespace lyx {
@@ -81,16 +79,16 @@ FontInfo & FontInfo::decSize()
        case FONT_SIZE_SCRIPT:       size_ = FONT_SIZE_TINY;     break;
        case FONT_SIZE_TINY:         break;
        case FONT_SIZE_INCREASE:
-               lyxerr << "Can't FontInfo::decSize on FONT_SIZE_INCREASE" << endl;
+               LYXERR0("Can't FontInfo::decSize on FONT_SIZE_INCREASE");
                break;
        case FONT_SIZE_DECREASE:
-               lyxerr <<"Can't FontInfo::decSize on FONT_SIZE_DECREASE" << endl;
+               LYXERR0("Can't FontInfo::decSize on FONT_SIZE_DECREASE");
                break;
        case FONT_SIZE_INHERIT:
-               lyxerr <<"Can't FontInfo::decSize on FONT_SIZE_INHERIT" << endl;
+               LYXERR0("Can't FontInfo::decSize on FONT_SIZE_INHERIT");
                break;
        case FONT_SIZE_IGNORE:
-               lyxerr <<"Can't FontInfo::decSize on FONT_SIZE_IGNORE" << endl;
+               LYXERR0("Can't FontInfo::decSize on FONT_SIZE_IGNORE");
                break;
        }
        return *this;
@@ -112,16 +110,16 @@ FontInfo & FontInfo::incSize()
        case FONT_SIZE_SCRIPT:       size_ = FONT_SIZE_FOOTNOTE; break;
        case FONT_SIZE_TINY:         size_ = FONT_SIZE_SCRIPT;   break;
        case FONT_SIZE_INCREASE:
-               lyxerr <<"Can't FontInfo::incSize on FONT_SIZE_INCREASE" << endl;
+               LYXERR0("Can't FontInfo::incSize on FONT_SIZE_INCREASE");
                break;
        case FONT_SIZE_DECREASE:
-               lyxerr <<"Can't FontInfo::incSize on FONT_SIZE_DECREASE" << endl;
+               LYXERR0("Can't FontInfo::incSize on FONT_SIZE_DECREASE");
                break;
        case FONT_SIZE_INHERIT:
-               lyxerr <<"Can't FontInfo::incSize on FONT_SIZE_INHERIT" << endl;
+               LYXERR0("Can't FontInfo::incSize on FONT_SIZE_INHERIT");
                break;
        case FONT_SIZE_IGNORE:
-               lyxerr <<"Can't FontInfo::incSize on FONT_SIZE_IGNORE" << endl;
+               LYXERR0("Can't FontInfo::incSize on FONT_SIZE_IGNORE");
                break;
        }
        return *this;