lyx_mirror/src/Dimension.cpp
André Pönitz 052d7ab681 make the static version link again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19517 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 19:08:35 +00:00

27 lines
458 B
C++

/**
* \file Dimension.cpp
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "Dimension.h"
namespace lyx {
void Dimension::operator+=(Dimension const & dim)
{
if (asc < dim.asc)
asc = dim.asc;
if (des < dim.des)
des = dim.des;
wid += dim.wid;
}
} // namespace lyx