X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fcoordcache.h;h=dba9b89fd4d283a2a27c7c31e9ecf2dac1a4c379;hb=52eb91c94fb70d58dceef430659c8781de2eccda;hp=a14751f6f0375ee70c1ca3e077f5b9387b5d9dcc;hpb=6ac15c5bb9eb7c692918c9bf753b283b8b573910;p=lyx.git diff --git a/src/coordcache.h b/src/coordcache.h index a14751f6f0..dba9b89fd4 100644 --- a/src/coordcache.h +++ b/src/coordcache.h @@ -107,13 +107,13 @@ public: * updates. (x,y) == (0,0) is the upper left screen corner, x increases * to the right, y increases downwords. * The cache is built in BufferView::updateMetrics which is called - * from BufferView::Pimpl::update. The individual points are added + * from BufferView::update. The individual points are added * while we paint them. See for instance paintPar in RowPainter.C. */ class CoordCache { public: void clear(); - Point get(LyXText const *, pit_type); + Point get(LyXText const *, pit_type) const; /// A map from paragraph index number to screen point typedef std::map InnerParPosCache;