initalize memeber vars

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3220 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-12-15 16:24:40 +00:00
parent 1f4e0de8a2
commit f685bb40cb
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxlength.C (LyXLength): Initialize private variables.
2001-12-15 Dekel Tsur <dekelts@tau.ac.il> 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
* CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language

View File

@ -33,6 +33,7 @@ LyXLength::LyXLength(double v, LyXLength::UNIT u)
LyXLength::LyXLength(string const & data) LyXLength::LyXLength(string const & data)
: val_(0), unit_(LyXLength::PT)
{ {
LyXLength tmp; LyXLength tmp;
@ -117,3 +118,4 @@ bool operator!=(LyXLength const & l1, LyXLength const & l2)
{ {
return !(l1 == l2); return !(l1 == l2);
} }