Hi Andre, thanks, for the pointer. It is clear now.
Andre Fischer schrieb: [..]
moVert is defined as OptValue< sal_Int32 > moVert; The oox::OptValue template class, defined in oox/inc/oox/helper/helper.hxx, does not provide direct access to its value. You have to call the get() method to read the value<http://aoodev1:8080/source/xref/current/main/oox/inc/oox/helper/helper.hxx>. Looking at the code you pasted, I am asking myself if there should not be a call to OptValue::has() before the get() method is called.
"has" is inside get, when get is called with a parameter. Kind regards Regina --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org