diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-30 20:00:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-31 12:35:07 +0100 |
commit | c40202a032c9f10161f46142c6960427522466fa (patch) | |
tree | 841697f5e4c17f94e95fabdaa149e6604c0b41f2 /cui | |
parent | 2009cbb8515c99f8139f3e067e77823e2122cf71 (diff) |
prompt to restart office when required for experimental features
Change-Id: I43051ec6b0efeaebcf4a28940f70913423b8ea9f
(cherry picked from commit 7ce2a89f4f8fa84232896766276cb3433ada239c)
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optjava.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index 1c03981a794d..f7c8b173d14d 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -627,6 +627,11 @@ sal_Bool SvxJavaOptionsPage::FillItemSet( SfxItemSet& /*rCoreSet*/ ) { SvtMiscOptions aMiscOpt; aMiscOpt.SetExperimentalSidebar( m_pExpSidebarCB->IsChecked() ); + + svtools::executeRestartDialog( + comphelper::getProcessComponentContext(), this, + svtools::RESTART_REASON_MODIFIED_SIDEBAR); + bModified = sal_True; } |