diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-10-05 10:28:46 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-10-05 10:28:46 -0400 |
commit | e0185db43409456a5ccf47bd1f879888a5b04783 (patch) | |
tree | 1bedf6cde707f7f502439a237bc020b9293649d2 /sfx2/source/appl/appserv.cxx | |
parent | 2a154fcf9cea7f9d0c056368a66314ee89d34456 (diff) |
Ported calc-formula-variable-sep-config-check-sfx2.diff from ooo-build.
This adds a method that gets called when the user clicks OK to dismiss
the Options dialog. This is used in order to handle conflicting argument
separator settings wrt locale-specific decimal separators.
Diffstat (limited to 'sfx2/source/appl/appserv.cxx')
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index e64659103969..c41f92ce66ad 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -966,11 +966,17 @@ void SfxApplication::OfaExec_Impl( SfxRequest& rReq ) { VclAbstractDialog* pDlg = pFact->CreateFrameDialog( NULL, xFrame, rReq.GetSlot(), sPageURL ); - pDlg->Execute(); + short nRet = pDlg->Execute(); delete pDlg; SfxViewFrame* pView = SfxViewFrame::GetFirst(); while ( pView ) { + if (nRet == RET_OK) + { + SfxObjectShell* pObjSh = pView->GetObjectShell(); + if (pObjSh) + pObjSh->SetConfigOptionsChecked(false); + } pView->GetBindings().InvalidateAll(FALSE); pView = SfxViewFrame::GetNext( *pView ); } |