View | Details | Raw Unified | Return to bug 270273
Collapse All | Expand All

(-)b/cad/kicad/files/patch-jobs-eeschema.diff (+11 lines)
Added Link Here
1
--- eeschema/eeschema_jobs_handler.cpp.orig	2023-03-02 11:58:51.484003000 +0100
2
+++ eeschema/eeschema_jobs_handler.cpp	2023-03-02 11:59:13.790704000 +0100
3
@@ -111,7 +111,7 @@
4
 
5
 int EESCHEMA_JOBS_HANDLER::JobExportPdf( JOB* aJob )
6
 {
7
-    JOB_EXPORT_SCH_PDF* aPdfJob = dynamic_cast<JOB_EXPORT_SCH_PDF*>( aJob );
8
+    JOB_EXPORT_SCH_PDF* aPdfJob = static_cast<JOB_EXPORT_SCH_PDF*>( aJob );
9
 
10
     if( !aPdfJob )
11
         return CLI::EXIT_CODES::ERR_UNKNOWN;
(-)b/cad/kicad/files/patch-jobs-pbcnew.diff (-1 / +11 lines)
Added Link Here
0
- 
1
--- pcbnew/pcbnew_jobs_handler.cpp.orig	2023-03-02 10:31:49.783330000 +0100
2
+++ pcbnew/pcbnew_jobs_handler.cpp	2023-03-02 10:32:37.415158000 +0100
3
@@ -206,7 +206,7 @@
4
 
5
 int PCBNEW_JOBS_HANDLER::JobExportPdf( JOB* aJob )
6
 {
7
-    JOB_EXPORT_PCB_PDF* aPdfJob = dynamic_cast<JOB_EXPORT_PCB_PDF*>( aJob );
8
+    JOB_EXPORT_PCB_PDF* aPdfJob = static_cast<JOB_EXPORT_PCB_PDF*>( aJob );
9
 
10
     if( aPdfJob == nullptr )
11
         return CLI::EXIT_CODES::ERR_UNKNOWN;

Return to bug 270273