]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
[lyx.git] / src / paragraph.h
index 17a14511cee6f690f6dc979193d73fc7f7f9ed4b..8ed4536de316262df28372991ebeece95871b68d 100644 (file)
@@ -344,15 +344,15 @@ private:
 };
 
  
-inline bool isInsertedText(Paragraph const * par, lyx::pos_type pos)
+inline bool isInsertedText(Paragraph const & par, lyx::pos_type pos)
 {
-       return par->lookupChange(pos) == Change::INSERTED;
+       return par.lookupChange(pos) == Change::INSERTED;
 }
  
  
-inline bool isDeletedText(Paragraph const * par, lyx::pos_type pos)
+inline bool isDeletedText(Paragraph const & par, lyx::pos_type pos)
 {
-       return par->lookupChange(pos) == Change::DELETED;
+       return par.lookupChange(pos) == Change::DELETED;
 }
  
 #endif // PARAGRAPH_H