[EMAIL PROTECTED] schrieb:
Author: sts
Date: Wed Jun 13 19:18:37 2007
New Revision: 18765
URL: http://www.lyx.org/trac/changeset/18765
Log:
* Change the dim parameter correctly, even if dim_ has not changed
(fixes http://bugzilla.lyx.org/show_bug.cgi?id=3858)
Modified:
lyx-devel/trunk/src/mathed/InsetMathKern.cpp
Modified: lyx-devel/trunk/src/mathed/InsetMathKern.cpp
URL:
http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathKern.cpp?rev=18765
==============================================================================
--- lyx-devel/trunk/src/mathed/InsetMathKern.cpp (original)
+++ lyx-devel/trunk/src/mathed/InsetMathKern.cpp Wed Jun 13 19:18:37 2007
@@ -25,24 +25,18 @@
InsetMathKern::InsetMathKern()
{
- dim_.asc = 0;
- dim_.des = 0;
}
InsetMathKern::InsetMathKern(Length const & w)
: wid_(w)
{
- dim_.asc = 0;
- dim_.des = 0;
}
InsetMathKern::InsetMathKern(docstring const & s)
: wid_(to_utf8(s))
{
- dim_.asc = 0;
- dim_.des = 0;
}
Without looking at the complete code:
Is it OK to remove this code? It looks like some kind of variable
initialization (which may be needed).
Michael