Mercurial > octave-nkf
comparison libgui/graphics/Backend.cc @ 20576:0fc9b572e566
eliminate error_state from libgui
* Backend.cc (Backend::toolkitObjectProxy): Don't check error_state.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 02 Oct 2015 16:07:41 -0400 |
parents | f0e61a67ad9f |
children |
comparison
equal
deleted
inserted
replaced
20575:3339c9bdfe6a | 20576:0fc9b572e566 |
---|---|
213 | 213 |
214 if (ov.is_defined () && ! ov.is_empty ()) | 214 if (ov.is_defined () && ! ov.is_empty ()) |
215 { | 215 { |
216 OCTAVE_INTPTR_TYPE ptr = ov.OCTAVE_PTR_SCALAR ().value (); | 216 OCTAVE_INTPTR_TYPE ptr = ov.OCTAVE_PTR_SCALAR ().value (); |
217 | 217 |
218 if (! error_state) | 218 return reinterpret_cast<ObjectProxy*> (ptr); |
219 return reinterpret_cast<ObjectProxy*> (ptr); | |
220 } | 219 } |
221 } | 220 } |
222 | 221 |
223 return 0; | 222 return 0; |
224 } | 223 } |