summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-05-30 20:00:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-05-31 12:35:07 +0100
commitc40202a032c9f10161f46142c6960427522466fa (patch)
tree841697f5e4c17f94e95fabdaa149e6604c0b41f2 /cui
parent2009cbb8515c99f8139f3e067e77823e2122cf71 (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.cxx5
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;
}