* getPos(): add const attribute to BufferView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15804 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-11-08 11:38:51 +00:00
parent 60cf37471d
commit f31ea3e157
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ Point coordOffset(BufferView const & bv, DocIterator const & dit,
}
Point getPos(BufferView & bv, DocIterator const & dit, bool boundary)
Point getPos(BufferView const & bv, DocIterator const & dit, bool boundary)
{
CursorSlice const & bot = dit.bottom();
CoordCache::ParPosCache::const_iterator cache_it =

View File

@ -38,7 +38,7 @@ bool string2font(std::string const & data, LyXFont & font, bool & toggle);
*/
std::string const freefont2string();
Point getPos(BufferView & bv, DocIterator const & dit, bool boundary);
Point getPos(BufferView const & bv, DocIterator const & dit, bool boundary);
enum CurStatus {
CUR_INSIDE,