Abdelrazak Younes wrote:
> A static cast:
> 
> static_cast<InsetCommand&>  or static_cast<InsetCommand *>
> 
> 
> A static cast is OK here because we are sure that this is indeed an 
> InsetCommand. Dynamic casts are in general used in case of multiple 
> inheritance. It's a runtime thing and thus slower than a static cast 
> which is done at compilation time.

OK, thanks. Since it compiles and works, I changed it in several places.

Jürgen

Reply via email to