]> git.lyx.org Git - features.git/commitdiff
* getPos(): add const attribute to BufferView.
authorAbdelrazak Younes <younes@lyx.org>
Wed, 8 Nov 2006 11:38:51 +0000 (11:38 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 8 Nov 2006 11:38:51 +0000 (11:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15804 a592a061-630c-0410-9148-cb99ea01b6c8

src/bufferview_funcs.C
src/bufferview_funcs.h

index 52ccfb6c8a375c3776e13f6700c3a77b0587572f..1ad64cb27cb71132b5a797e3585b8ec6732f94bd 100644 (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 = 
index c13651a3e971f50c6ba3e7770f8671bdacdc9b04..c2268f8a29bed3732f1c70c5ea309a1a4e12d1e3 100644 (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,