2004-04-07 20:20:15 +00:00
|
|
|
/**
|
|
|
|
* \file nullpainter.C
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Alfredo Braunstein
|
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
2005-04-26 10:30:24 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
2004-04-07 20:20:15 +00:00
|
|
|
#include "nullpainter.h"
|
|
|
|
|
|
|
|
#include "LColor.h"
|
|
|
|
|
|
|
|
#include <limits>
|
|
|
|
|
|
|
|
|
2006-06-20 08:39:16 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
2004-04-07 20:20:15 +00:00
|
|
|
int NullPainter::paperHeight() const
|
|
|
|
{
|
|
|
|
return std::numeric_limits<int>::max();
|
|
|
|
}
|
2006-06-20 08:39:16 +00:00
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|