]> git.lyx.org Git - lyx.git/blob - src/frontends/nullpainter.C
minimal effort implementation of:
[lyx.git] / src / frontends / nullpainter.C
1 /**
2  * \file nullpainter.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Alfredo Braunstein
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #include <config.h>
13
14 #include "nullpainter.h"
15
16 #include "LColor.h"
17
18 #include <limits>
19
20
21 namespace lyx {
22 namespace frontend {
23
24 int NullPainter::paperHeight() const
25 {
26         return std::numeric_limits<int>::max();
27 }
28
29 } // namespace frontend
30 } // namespace lyx