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

Dialog::Execute return type is short/VclResponseType

Change-Id: I40fb77dff3112ee154d6d413757af6593486280d
üst 5c859f4f
......@@ -258,7 +258,7 @@ short SaneDlg::Execute()
{
MessageDialog aErrorBox(NULL, SaneResId(STR_COULD_NOT_BE_INIT));
aErrorBox.Execute();
return sal_False;
return RET_CANCEL;
}
LoadState();
return ModalDialog::Execute();
......
......@@ -345,7 +345,7 @@ short PrinterSetupDialog::Execute()
if ( !mpPrinter || mpPrinter->IsPrinting() || mpPrinter->IsJobActive() )
{
SAL_WARN( "svtools.dialogs", "PrinterSetupDialog::Execute() - No Printer or printer is printing" );
return sal_False;
return RET_CANCEL;
}
Printer::updatePrinters();
......@@ -358,7 +358,7 @@ short PrinterSetupDialog::Execute()
short nRet = ModalDialog::Execute();
// update data if the dialog was terminated with OK
if ( nRet == sal_True )
if ( nRet == RET_OK )
{
if ( mpTempPrinter )
mpPrinter->SetPrinterProps( mpTempPrinter );
......
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