]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseterror.C
Translate labels for float:algorithm, float:figure and float:table.
[lyx.git] / src / insets / inseterror.C
index 611558bcb4642928da13c1090e36908b2b7ebe68..c16d3515861adc08c6c37e68e40f13df450aae16 100644 (file)
@@ -1,8 +1,8 @@
 /* This file is part of
  * ======================================================
- * 
+ *
  *           LyX, The Document Processor
- *      
+ *
  *         Copyright 1995 Matthias Ettrich
  *          Copyright 1995-2001 The LyX Team.
  *
@@ -63,7 +63,7 @@ void InsetError::draw(BufferView * bv, LyXFont const & font,
        LyXFont efont;
        efont.setSize(font.size()).decSize();
        efont.setColor(LColor::error);
-   
+
        // Draw as "Error" in a framed box
        x += 1;
        pain.fillRectangle(int(x), baseline - ascent(bv, font) + 1,
@@ -80,7 +80,7 @@ void InsetError::draw(BufferView * bv, LyXFont const & font,
 }
 
 
-string const InsetError::editMessage() const 
+string const InsetError::editMessage() const
 {
        return _("Opened error");
 }
@@ -88,7 +88,7 @@ string const InsetError::editMessage() const
 
 void InsetError::edit(BufferView * bv, int, int, unsigned int)
 {
-       bv->owner()->getDialogs()->showError( this );
+       bv->owner()->getDialogs()->showError(this);
 }