]> git.lyx.org Git - lyx.git/blobdiff - src/insets/render_button.C
hopefully fix tex2lyx linking.
[lyx.git] / src / insets / render_button.C
index ebc29bc1db88810b1bc7e4c2efe6c9e910aab3b1..6a833c744bc3aef6d07cef23f60a3c426fd84291 100644 (file)
@@ -18,7 +18,8 @@
 #include "frontends/FontMetrics.h"
 #include "frontends/Painter.h"
 
-using lyx::docstring;
+
+namespace lyx {
 
 using std::string;
 using std::auto_ptr;
@@ -46,7 +47,7 @@ void RenderButton::metrics(MetricsInfo &, Dimension & dim) const
 {
        LyXFont font(LyXFont::ALL_SANE);
        font.decSize();
-       lyx::frontend::FontMetrics const & fm =
+       frontend::FontMetrics const & fm =
                theFontMetrics(font);
        
        if (editable_)
@@ -72,3 +73,6 @@ void RenderButton::draw(PainterInfo & pi, int x, int y) const
                                 LColor::commandbg, LColor::commandframe);
        }
 }
+
+
+} // namespace lyx