20 #include <com/sun/star/frame/Desktop.hpp>
21 #include <com/sun/star/frame/XDesktop2.hpp>
22 #include <com/sun/star/uno/Reference.hxx>
37 css::uno::Reference<css::frame::XDesktop2> xDesktop
39 xDesktop->terminate();
static AsyncQuitHandler & instance()
static void QuitApplication()
IMPL_STATIC_LINK_NOARG(AsyncQuitHandler, OnAsyncQuit, void *, void)
Reference< XComponentContext > getProcessComponentContext()
This function gets the process service factory's default component context.