mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
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:
parent
9b89f1d4ad
commit
56be946751
@ -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 {
|
||||
|
@ -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()
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
#include "GuiApplication.h"
|
||||
#include "GuiFontMetrics.h"
|
||||
#include "GuiWorkArea.h"
|
||||
#include "QLImage.h"
|
||||
|
||||
#include "GuiApplication.h"
|
||||
@ -25,15 +24,8 @@
|
||||
#include "language.h"
|
||||
#include "LColor.h"
|
||||
|
||||
|
||||
#include "support/unicode.h"
|
||||
|
||||
#include <QPainter>
|
||||
#include <QPicture>
|
||||
#include <QPixmap>
|
||||
#include <QImage>
|
||||
|
||||
|
||||
using std::endl;
|
||||
using std::string;
|
||||
|
||||
|
@ -15,15 +15,9 @@
|
||||
|
||||
#include "Painter.h"
|
||||
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
|
||||
#include <QPainter>
|
||||
|
||||
class QPaintDevice;
|
||||
class QPainter;
|
||||
class QString;
|
||||
class QPixmap;
|
||||
class QImage;
|
||||
|
||||
namespace lyx {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user