]> git.lyx.org Git - lyx.git/blob - src/Dimension.cpp
Allow autoconf 2.69 and automake 1.12
[lyx.git] / src / Dimension.cpp
1 /**
2  * \file Dimension.cpp
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  *  \author André Pönitz
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "Dimension.h"
14
15 namespace lyx {
16
17 void Dimension::operator+=(Dimension const & dim)
18 {
19         if (asc < dim.asc)
20                 asc = dim.asc;
21         if (des < dim.des)
22                 des = dim.des;
23         wid += dim.wid;
24 }
25
26 } // namespace lyx