Kaydet (Commit) d0e9aa6a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Dialog::Execute returns short/VclResponseType

Change-Id: I48d63276ae0aaeba169e1e783c44b428a58314ac
üst 4911135f
...@@ -4634,11 +4634,7 @@ RTLFUNC(MsgBox) ...@@ -4634,11 +4634,7 @@ RTLFUNC(MsgBox)
pBox.reset(new MessBox( pParent, nWinBits, aTitle, aMsg )); pBox.reset(new MessBox( pParent, nWinBits, aTitle, aMsg ));
} }
pBox->SetText( aTitle ); pBox->SetText( aTitle );
sal_uInt16 nRet = (sal_uInt16)pBox->Execute(); short nRet = pBox->Execute();
if( nRet == sal_True )
{
nRet = 1;
}
sal_Int16 nMappedRet; sal_Int16 nMappedRet;
if( nStyle == 2 ) if( nStyle == 2 )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment