]> git.lyx.org Git - features.git/blobdiff - src/bufferview_funcs.C
* getPos(): add const attribute to BufferView.
[features.git] / src / bufferview_funcs.C
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 =