LibreOffice Module framework (master) 1
|
Functions | |
bool | closeIt (const css::uno::Reference< css::uno::XInterface > &xResource) |
close (or dispose) the given resource. More... | |
|
inline |
close (or dispose) the given resource.
@descr It try to close the given resource first. Delegating of the ownership can be influenced from outside. If closing isn't possible (because the needed interface isn't available) dispose() is tried instead. All possible exceptions are handled inside. So the user of this method has to look for the return value only.
xResource | the object, which should be closed here. |
Definition at line 49 of file frame.hxx.
Referenced by framework::CloseDispatcher::implts_closeFrame(), and framework::CloseDispatcher::implts_prepareFrameForClosing().