diff options
author | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-08-11 08:29:50 +0200 |
---|---|---|
committer | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-08-11 08:29:50 +0200 |
commit | bac4d759bdcf17fd4438024367ca2bc2bc982011 (patch) | |
tree | 1d750b0becd8701f1187b5c4eb2f26de1e4952cc /cui | |
parent | ed2a220f5401b0cc315c43e5da04362e1095a173 (diff) |
oooimprovement6: #i98561# clicking on show data closes the modal dialog
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optimprove2.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/options/optimprove2.cxx b/cui/source/options/optimprove2.cxx index 29ef718a6c74..074897c3df29 100644 --- a/cui/source/options/optimprove2.cxx +++ b/cui/source/options/optimprove2.cxx @@ -153,7 +153,10 @@ IMPL_LINK( SvxImprovementOptionsPage, HandleShowData, PushButton*, EMPTYARG ) uno::Reference< lang::XComponent > xDoc = ::comphelper::SynchronousDispatch::dispatch( xDesktop, sLogFile, C2S("_default"), 0, aArgs ); if ( xDoc.is() ) + { + dynamic_cast<Dialog*>(GetParent())->EndDialog( RET_CANCEL ); return 1; + } } return 0; |