compilation fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7189 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-06-19 13:55:31 +00:00
parent e20c467a98
commit cc7aad9324
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* CutAndPaste.C (availableSelections): small compilation fix for
ancient (gcc 2.9x) compilers
2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
* text3.C (cursorNext): add tmp var

View File

@ -57,7 +57,9 @@ CutAndPaste::availableSelections(Buffer const & buffer)
CutStack::const_iterator cit = cuts.begin();
CutStack::const_iterator end = cuts.end();
for (; cit != end; ++cit) {
ParagraphList const & pars = cit->first;
// we do not use cit-> here because gcc 2.9x does not
// like it (JMarc)
ParagraphList const & pars = (*cit).first;
string asciiSel;
ParagraphList::const_iterator pit = pars.begin();
ParagraphList::const_iterator pend = pars.end();