From: André Pönitz Date: Thu, 1 Apr 2004 10:21:29 +0000 (+0000) Subject: cosmetics X-Git-Tag: 1.6.10~15379 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fc06c3ea10017011d022f0f921c787422f4798de;p=lyx.git cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8584 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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 ///