]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/lyx_gui.C
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / lyx_gui.C
index 838bea46f13186fc1208a5b1676440cb2c4ad57d..ea848a26ce0c9a2d2a472e7c372d61e257085e46 100644 (file)
@@ -51,10 +51,6 @@ using lyx::frontend::GuiApplication;
 
 using boost::shared_ptr;
 
-#ifndef CXX_GLOBAL_CSTD
-using std::exit;
-#endif
-
 using std::map;
 using std::vector;
 using std::string;
@@ -115,12 +111,6 @@ void sync_events()
 }
 
 
-void exit(int status)
-{
-       guiApp->exit(status);
-}
-
-
 bool getRGBColor(LColor_color col, lyx::RGBColor & rgbcol)
 {
        QColor const & qcol = guiApp->colorCache().get(col);
@@ -150,18 +140,6 @@ void update_color(LColor_color)
 }
 
 
-void update_fonts()
-{
-       guiApp->fontLoader().update();
-}
-
-
-bool font_available(LyXFont const & font)
-{
-       return guiApp->fontLoader().available(font);
-}
-
-
 void register_socket_callback(int fd, boost::function<void()> func)
 {
        socket_callbacks[fd] = shared_ptr<socket_callback>(new socket_callback(fd, func));