summaryrefslogtreecommitdiff
path: root/cui/source/options/optjava.cxx
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 09:33:07 +0100
commit7ce2a89f4f8fa84232896766276cb3433ada239c (patch)
tree930c13e9466da78d9e63e01141fb4866ad7df3d5 /cui/source/options/optjava.cxx
parent4e673dbb5b7c7f0fd48d50255d10340229a33ade (diff)
prompt to restart office when required for experimental features
Change-Id: I43051ec6b0efeaebcf4a28940f70913423b8ea9f
Diffstat (limited to 'cui/source/options/optjava.cxx')
-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 50428e3428ea..74fa15700697 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -632,6 +632,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;
}