Another minor change, but this should almost get us to the point that we
[lyx.git] / src / Dimension.cpp
blobb1cd41ed9a999d60dad46e406b3a2ffc75cc420c
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.
6 * \author André Pönitz
8 * Full author contact details are available in file CREDITS.
9 */
11 #include <config.h>
13 #include "Dimension.h"
15 namespace lyx {
17 void Dimension::operator+=(Dimension const & dim)
19 if (asc < dim.asc)
20 asc = dim.asc;
21 if (des < dim.des)
22 des = dim.des;
23 wid += dim.wid;
26 } // namespace lyx