diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index d0c937398369..c704eacada54 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -1393,9 +1393,10 @@ bool OfaLanguagesTabPage::FillItemSet( SfxItemSet* rSet ) Reference< XChangesBatch >(xProp, UNO_QUERY_THROW)->commitChanges(); // display info SolarMutexGuard aGuard; - svtools::executeRestartDialog( - comphelper::getProcessComponentContext(), GetFrameWeld(), - svtools::RESTART_REASON_LANGUAGE_CHANGE); + if (svtools::executeRestartDialog( + comphelper::getProcessComponentContext(), GetFrameWeld(), + svtools::RESTART_REASON_LANGUAGE_CHANGE)) + GetParentDialog()->EndDialog(RET_OK); // tell quickstarter to stop being a veto listener |