mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
add operator for LyXGlueLength
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3133 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
541aa2bcf7
commit
8d16724ee4
@ -1,3 +1,7 @@
|
||||
2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
|
||||
|
||||
* vspace.[Ch] (operator!=): add operator.
|
||||
|
||||
2001-12-01 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* BufferView_pimpl.C: refuse to open an inset when
|
||||
|
12
src/vspace.C
12
src/vspace.C
@ -14,16 +14,17 @@
|
||||
#pragma implementation "vspace.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "vspace.h"
|
||||
#include "lyx_main.h"
|
||||
#include "buffer.h"
|
||||
#include "vspace.h"
|
||||
#include "lyxrc.h"
|
||||
#include "lyxtext.h"
|
||||
#include "BufferView.h"
|
||||
|
||||
#include "support/lstrings.h"
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
@ -545,6 +546,11 @@ bool operator==(LyXGlueLength const & l1, LyXGlueLength const & l2)
|
||||
}
|
||||
|
||||
|
||||
bool operator!=(LyXGlueLength const & l1, LyXGlueLength const & l2)
|
||||
{
|
||||
return !(l1 == l2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
|
@ -160,6 +160,8 @@ protected:
|
||||
///
|
||||
bool operator==(LyXGlueLength const & l1, LyXGlueLength const & l2);
|
||||
///
|
||||
bool operator!=(LyXGlueLength const & l1, LyXGlueLength const & l2);
|
||||
///
|
||||
bool isValidGlueLength(string const & data, LyXGlueLength * result);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user