]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/screen.C
namespace grfx -> lyx::graphics
[lyx.git] / src / frontends / screen.C
index 8fb9f8e6441f286f6d2a1e6b7d6b2c2a964eff20..e902141367a6a4e15baef8d9840cabbd9eded099 100644 (file)
 #include <boost/bind.hpp>
 #include <boost/signals/trackable.hpp>
 
+using namespace lyx::support;
+
 using std::min;
 using std::max;
 using std::endl;
 
+namespace grfx = lyx::graphics;
+
 namespace {
 
 class SplashScreen : boost::noncopyable, boost::signals::trackable {
@@ -266,7 +270,7 @@ unsigned int LyXScreen::topCursorVisible(LyXText * text)
                                - row->baseline() - vheight;
                } else {
                        // scroll down, the scroll region must be so big!!
-                       newtop = cursor.y() - vheight / 2; 
+                       newtop = cursor.y() - vheight / 2;
                }
 
        } else if (static_cast<int>((cursor.y()) - row->baseline()) <