23#include <com/sun/star/lang/NotInitializedException.hpp>
24#include <com/sun/star/lang/DisposedException.hpp>
31 using ::com::sun::star::lang::NotInitializedException;
32 using ::com::sun::star::lang::DisposedException;
33 using ::com::sun::star::uno::Reference;
34 using ::com::sun::star::uno::XInterface;
46 throw NotInitializedException( OUString(),
getComponent() );
void checkDisposed(GuardAccess) const
checks whether the component is already disposed, throws a DisposedException if so.
static css::uno::Reference< css::uno::XInterface > getComponent()
returns the context to be used when throwing exceptions
::cppu::OBroadcastHelper & m_rBHelper
void checkInitialized(GuardAccess) const
checks whether the component is already initialized, throws a NotInitializedException if not.
helper struct to grant access to selected public methods to the ComponentMethodGuard class