diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:49:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 10:19:37 +0200 |
commit | d0e9aa6a2b07cb183dd7f8b06399b28f67588a83 (patch) | |
tree | 474943692c0f33615b921977304a20927ffd8f2a | |
parent | 4911135f8b5b55f24f59f1b069b6ab7ac4ee1814 (diff) |
Dialog::Execute returns short/VclResponseType
Change-Id: I48d63276ae0aaeba169e1e783c44b428a58314ac
-rw-r--r-- | basic/source/runtime/methods.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index fc060f725790..2cc26f78ea98 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -4634,11 +4634,7 @@ RTLFUNC(MsgBox) pBox.reset(new MessBox( pParent, nWinBits, aTitle, aMsg )); } pBox->SetText( aTitle ); - sal_uInt16 nRet = (sal_uInt16)pBox->Execute(); - if( nRet == sal_True ) - { - nRet = 1; - } + short nRet = pBox->Execute(); sal_Int16 nMappedRet; if( nStyle == 2 ) { |