delete unused code and comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15588 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-10-28 09:19:37 +00:00
parent 9b89f1d4ad
commit 56be946751
4 changed files with 0 additions and 18 deletions

View File

@ -22,7 +22,6 @@
// character width, so it is not necessary to provide ours. // character width, so it is not necessary to provide ours.
#if defined(Q_WS_MACX) || defined(Q_WS_WIN32) #if defined(Q_WS_MACX) || defined(Q_WS_WIN32)
#define USE_LYX_FONTCACHE #define USE_LYX_FONTCACHE
#include <map>
#endif #endif
namespace lyx { namespace lyx {

View File

@ -493,7 +493,6 @@ void GuiWorkArea::resizeEvent(QResizeEvent * ev)
{ {
cursor_->hide(); cursor_->hide();
verticalScrollBar()->setPageStep(viewport()->height()); verticalScrollBar()->setPageStep(viewport()->height());
//paint_device_ = QPixmap(viewport()->width(), viewport()->height());
QAbstractScrollArea::resizeEvent(ev); QAbstractScrollArea::resizeEvent(ev);
resizeBufferView(); resizeBufferView();
} }
@ -557,8 +556,6 @@ void GuiWorkArea::paintEvent(QPaintEvent * ev)
<< "\n QWidget height\t" << this->height() << "\n QWidget height\t" << this->height()
<< "\n viewport width\t" << viewport()->width() << "\n viewport width\t" << viewport()->width()
<< "\n viewport height\t" << viewport()->height() << "\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 x\t" << e->rect().x()
<< "\n QPaintEvent y\t" << e->rect().y() << "\n QPaintEvent y\t" << e->rect().y()
<< "\n QPaintEvent w\t" << e->rect().width() << "\n QPaintEvent w\t" << e->rect().width()

View File

@ -15,7 +15,6 @@
#include "GuiApplication.h" #include "GuiApplication.h"
#include "GuiFontMetrics.h" #include "GuiFontMetrics.h"
#include "GuiWorkArea.h"
#include "QLImage.h" #include "QLImage.h"
#include "GuiApplication.h" #include "GuiApplication.h"
@ -25,15 +24,8 @@
#include "language.h" #include "language.h"
#include "LColor.h" #include "LColor.h"
#include "support/unicode.h" #include "support/unicode.h"
#include <QPainter>
#include <QPicture>
#include <QPixmap>
#include <QImage>
using std::endl; using std::endl;
using std::string; using std::string;

View File

@ -15,15 +15,9 @@
#include "Painter.h" #include "Painter.h"
#include <boost/scoped_ptr.hpp>
#include <QPainter> #include <QPainter>
class QPaintDevice;
class QPainter;
class QString; class QString;
class QPixmap;
class QImage;
namespace lyx { namespace lyx {