On Thu, Dec 06, 2001 at 09:47:19AM +0100, Lars Gullik Bjønnes wrote:
> Andre Poenitz <[EMAIL PROTECTED]> writes:
> >> -          Paragraph * par = bv->text->cursor.par();
> >> +          Paragraph * par = bv->getLyXText()->cursor.par();
> >
> | Can't things like that be catched by making bv->text private?
> 
> The problem is that it is sometimes bv->text we want and not
> bv->getLyXText.

So make a second acessor  "getTheTextAndIReallyMeanIt" and use that...
Of course not by automatic search-and-replace, but by having a look of all
instances... The compiler will make sure that we see all instances...

Andre'

-- 
André Pönitz .............................................. [EMAIL PROTECTED]

Reply via email to