diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-18 08:50:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-18 10:57:21 +0100 |
commit | a107bdfdfc1baf73f14055262d64bf616fc0a889 (patch) | |
tree | 2e4cbadd538f5e8d495fb8953a5a7939c8ab2bb5 /sfx2/source/doc/objserv.cxx | |
parent | 3b6091ca42cd2d9f230e7d81648c34f3d7085107 (diff) |
ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
Diffstat (limited to 'sfx2/source/doc/objserv.cxx')
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 3dcfd32be36f..20395ea87b68 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -333,7 +333,7 @@ void SfxObjectShell::CheckOut( ) } catch ( const uno::RuntimeException& e ) { - ErrorBox* pErrorBox = new ErrorBox( &GetFrame()->GetWindow(), WB_OK, e.Message ); + MessageDialog* pErrorBox = new MessageDialog( &GetFrame()->GetWindow(), e.Message ); pErrorBox->Execute( ); delete pErrorBox; } @@ -352,7 +352,7 @@ void SfxObjectShell::CancelCheckOut( ) } catch ( const uno::RuntimeException& e ) { - ErrorBox* pErrorBox = new ErrorBox( &GetFrame()->GetWindow(), WB_OK, e.Message ); + MessageDialog* pErrorBox = new MessageDialog(&GetFrame()->GetWindow(), e.Message); pErrorBox->Execute( ); delete pErrorBox; } @@ -377,7 +377,7 @@ void SfxObjectShell::CheckIn( ) } catch ( const uno::RuntimeException& e ) { - ErrorBox* pErrorBox = new ErrorBox( &GetFrame()->GetWindow(), WB_OK, e.Message ); + MessageDialog* pErrorBox = new MessageDialog(&GetFrame()->GetWindow(), e.Message); pErrorBox->Execute( ); delete pErrorBox; } @@ -392,7 +392,7 @@ uno::Sequence< document::CmisVersion > SfxObjectShell::GetCmisVersions( ) } catch ( const uno::RuntimeException& e ) { - ErrorBox* pErrorBox = new ErrorBox( &GetFrame()->GetWindow(), WB_OK, e.Message ); + MessageDialog* pErrorBox = new MessageDialog(&GetFrame()->GetWindow(), e.Message); pErrorBox->Execute( ); delete pErrorBox; } @@ -1465,7 +1465,7 @@ void SfxObjectShell::ImplSign( bool bScriptingContent ) } else { - ErrorBox( NULL, WB_OK, SfxResId(STR_XMLSEC_ODF12_EXPECTED).toString() ).Execute(); + MessageDialog(NULL, SfxResId(STR_XMLSEC_ODF12_EXPECTED)).Execute(); return; } |