]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.C
move some selection related stuff over to textcursor.C
[lyx.git] / src / CutAndPaste.C
index 6d5e2e311690233e5d0e1aaf1affba6a479b4bd1..f1057254e522d9a0f7513980a2a466d7c1a15ebc 100644 (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();