diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:07:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:52 +0100 |
commit | 99ffbb9dc1c06704f3e259ee9765fbeb408b1629 (patch) | |
tree | 4baf96fdc4615be389eca3f25568097a612cab71 /vcl | |
parent | a53cb5d7b49c0d4ae298805caea7b0f023612ed2 (diff) |
EndDialog takes long nResult, not bool
Change-Id: I04210f48f091a652b7867754484a9c5dd6b19471
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 ) { |