On Wed, Jun 26, 2002 at 05:29:27PM +0100, Angus Leeming wrote: > Each FormulaInset will generate one graphic file I guess, right? One graphic > file, one grfx::Loader, so yes, I think that you should have a grfx::Loader > member variable in FormulaInset.
But that's not possible in the presense of FormulaInset * FormulaInset::clone() const { return FormulaInset(*this); } as this tries to copy-construct the Loader member which is boost::non_copy_something. > See my mail to the lyx-devel list: > "Getting rid of BufferView * current_view from InsetGraphics" > for some thoughts on getting rid of current_view in such a context. I have a cached 'BufferView *' already anyway. > Alternatively, show me a "better way"!!! No, the Loader looks fine. I just can't get it working as I think it would. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)