https://bugs.freedesktop.org/show_bug.cgi?id=46279
Thorsten Behrens <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |EasyHack | |DifficultyInteresting | |SkillCpp CC| |[email protected] --- Comment #10 from Thorsten Behrens <[email protected]> --- That does not sound impossible to do. Poking around a bit in desktop/, I find existing code that restarts the office, e.g. when a weirdo jre selection would make that necessary. Random code pointers: grep for: OfficeRestartManager desktop/source/app/app.cxx:68:#include <com/sun/star/task/OfficeRestartManager.hpp> desktop/source/app/app.cxx:1418: Reference< XRestartManager > xRestartManager( OfficeRestartManager::get(xContext) ); desktop/source/app/app.cxx:1727: OfficeRestartManager::get(comphelper::getProcessComponentContext())-> desktop/source/app/check_ext_deps.cxx:46:#include <com/sun/star/task/OfficeRestartManager.hpp> desktop/source/app/check_ext_deps.cxx:423: task::OfficeRestartManager::get(context)->requestRestart( svtools/source/dialogs/restartdialog.cxx:14:#include <com/sun/star/task/OfficeRestartManager.hpp> svtools/source/dialogs/restartdialog.cxx:77: css::task::OfficeRestartManager::get(context)->requestRestart( desktop/source/deployment/misc/dp_misc.cxx:41:#include <com/sun/star/task/OfficeRestartManager.hpp> desktop/source/deployment/misc/dp_misc.cxx:565: Reference<task::XRestartManager> restarter(task::OfficeRestartManager::get(comphelper::getProcessComponentContext())); etc. This is even at the api, so extensions can use it directly: offapi/com/sun/star/task/OfficeRestartManager.idl:33:singleton OfficeRestartManager : XRestartManager; -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
