diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index c44dee71a369..bff8cf52457a 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -1513,7 +1513,7 @@ IMPL_LINK( PrintDialog, ClickHdl, Button*, pButton ) if( pButton == mpOKButton || pButton == mpCancelButton ) { storeToSettings(); - EndDialog( pButton == mpOKButton ); + EndDialog( pButton == mpOKButton ? RET_OK : RET_CANCEL ); } else if( pButton == mpHelpButton ) { |