Cancel button in printdialog box not working

Michael Stahl mstahl at redhat.com
Wed Apr 15 03:12:57 PDT 2015


On 15.04.2015 11:13, Andy Mendoza wrote:
> I have a problem with the printdialog box of LibreOffice Developer's
> Build. When I click the Cancel button it still proceeds with the
> printing. I tried tracing the code in printdlg.cxx but I get stuck with
> this line
> 
> mpCancelButton->SetClickHdl( LINK(this, PrintDialog, ClickHdl));
> I don't know where SetClickHdl came from and what does it do?
> How do I fix this problem?

that is the fabulous tools LINK macro, the best technology breakthrough
of 1991 or so.

there should be a IMPL_LINK(PrintDialog, ClickHdl ...) in the same file
that is the callback that is set here.




More information about the LibreOffice mailing list