From fc06c3ea10017011d022f0f921c787422f4798de Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 1 Apr 2004 10:21:29 +0000 Subject: [PATCH] cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8584 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/insetert.C | 2 +- src/mathed/formulamacro.h | 4 ++++ src/pariterator.C | 10 ++++++---- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/insets/insetert.C b/src/insets/insetert.C index 40e8a94fa8..cddd553b48 100644 --- a/src/insets/insetert.C +++ b/src/insets/insetert.C @@ -200,7 +200,7 @@ int InsetERT::docbook(Buffer const &, ostream & os, ++par; if (par != end) { os << "\n"; - lines ++; + ++lines; } } diff --git a/src/mathed/formulamacro.h b/src/mathed/formulamacro.h index 533f109a7c..f55fdbffba 100644 --- a/src/mathed/formulamacro.h +++ b/src/mathed/formulamacro.h @@ -57,6 +57,10 @@ public: std::auto_ptr clone() const; /// InsetBase::Code lyxCode() const { return MATHMACRO_CODE; } + /// + std::string const & getInsetName() const { return name_; } + /// + EDITABLE editable() const { return HIGHLY_EDITABLE; } private: /// MathAtom & tmpl() const; diff --git a/src/pariterator.C b/src/pariterator.C index efb94c14ea..217a64a4d9 100644 --- a/src/pariterator.C +++ b/src/pariterator.C @@ -8,10 +8,8 @@ * Full author contact details are available in file CREDITS. */ - #include - #include "pariterator.h" #include "ParagraphList_fwd.h" @@ -22,6 +20,7 @@ using lyx::par_type; + /// /// ParIterator /// @@ -56,6 +55,7 @@ ParIterator & ParIterator::operator++() ParIterator & ParIterator::operator--() { +#warning look here // DocIterator::backwardPar(); return *this; } @@ -102,14 +102,16 @@ bool operator!=(ParIterator const & iter1, ParIterator const & iter2) return !(iter1 == iter2); } -DocIterator -makeDocIterator(ParIterator const & par, lyx::pos_type pos) + +DocIterator makeDocIterator(ParIterator const & par, lyx::pos_type pos) { DocIterator dit(par); dit.pos() = pos; return dit; } + + /// /// ParConstIterator /// -- 2.39.5