]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_pimpl.C
Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
[lyx.git] / src / paragraph_pimpl.C
index bcc504112c2e3cb52223a98fca5a01ae34ec9c5e..285a555f8d4edbcdf359c721dc6dda4651fe9654 100644 (file)
@@ -849,19 +849,6 @@ void Paragraph::Pimpl::validate(LaTeXFeatures & features,
 }
 
 
-Paragraph * Paragraph::Pimpl::getParFromID(int id) const
-{
-       InsetList::iterator cit = owner_->insetlist.begin();
-       InsetList::iterator lend = owner_->insetlist.end();
-       Paragraph * result;
-       for (; cit != lend; ++cit) {
-               if ((result = cit.getInset()->getParFromID(id)))
-                       return result;
-       }
-       return 0;
-}
-
-
 LyXFont const Paragraph::Pimpl::realizeFont(LyXFont const & font,
                                            BufferParams const & bparams) const
 {