]> git.lyx.org Git - features.git/commitdiff
delete unused code and comment.
authorAbdelrazak Younes <younes@lyx.org>
Sat, 28 Oct 2006 09:19:37 +0000 (09:19 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 28 Oct 2006 09:19:37 +0000 (09:19 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15588 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiFontMetrics.h
src/frontends/qt4/GuiWorkArea.C
src/frontends/qt4/QLPainter.C
src/frontends/qt4/QLPainter.h

index 924c0e0cd61de3851a1fb5f4c0297a521de64581..194c8f828d33df7a25ce99fedbb6036a4fa10e79 100644 (file)
@@ -22,7 +22,6 @@
 // character width, so it is not necessary to provide ours.
 #if defined(Q_WS_MACX) || defined(Q_WS_WIN32)
 #define USE_LYX_FONTCACHE
-#include <map>
 #endif
 
 namespace lyx {
index 74e29346159cbdcc1af42334a68c9ef5cba62dff..8cc2c88a6a84c4528a4f466f92e7f5b1ed3eae54 100644 (file)
@@ -493,7 +493,6 @@ void GuiWorkArea::resizeEvent(QResizeEvent * ev)
 {
        cursor_->hide();
        verticalScrollBar()->setPageStep(viewport()->height());
-       //paint_device_ = QPixmap(viewport()->width(), viewport()->height());
        QAbstractScrollArea::resizeEvent(ev);
        resizeBufferView();
 }
@@ -557,8 +556,6 @@ void GuiWorkArea::paintEvent(QPaintEvent * ev)
                << "\n QWidget height\t" << this->height()
                << "\n viewport width\t" << viewport()->width()
                << "\n viewport height\t" << viewport()->height()
-               << "\n pixmap width\t" << pixmap_->width()
-               << "\n pixmap height\t" << pixmap_->height()
                << "\n QPaintEvent x\t" << e->rect().x()
                << "\n QPaintEvent y\t" << e->rect().y()
                << "\n QPaintEvent w\t" << e->rect().width()
index 281365c8ebed584322e2a2b70179f0685764f7d6..72a5ce59031121b38b5e4c2838cd6881ee48d033 100644 (file)
@@ -15,7 +15,6 @@
 
 #include "GuiApplication.h"
 #include "GuiFontMetrics.h"
-#include "GuiWorkArea.h"
 #include "QLImage.h"
 
 #include "GuiApplication.h"
 #include "language.h"
 #include "LColor.h"
 
-
 #include "support/unicode.h"
 
-#include <QPainter>
-#include <QPicture>
-#include <QPixmap>
-#include <QImage>
-
-
 using std::endl;
 using std::string;
 
index 72048e89f3a9e098c51bf1a422152148cde78eab..8961fc29c03a72448cc58994406a89ec35fdacf5 100644 (file)
 
 #include "Painter.h"
 
-#include <boost/scoped_ptr.hpp>
-
 #include <QPainter>
 
-class QPaintDevice;
-class QPainter;
 class QString;
-class QPixmap;
-class QImage;
 
 namespace lyx {