summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/reportengine/u_report.pas5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/reportengine/u_report.pas b/src/reportengine/u_report.pas
index 3fc8a9ed..2927d676 100644
--- a/src/reportengine/u_report.pas
+++ b/src/reportengine/u_report.pas
@@ -2865,12 +2865,7 @@ begin
Free;
end;
{ TODO: Create a cross-platform fpgViewFile() method or something }
- {$ifdef linux}
fpgOpenURL(PdfFile);
- {$endif}
- {$ifdef win32}
- ShellExecute(0, PChar('OPEN'), PChar(PdfFile), PChar(''), PChar(''), 1);
- {$endif}
end;
finally
Fd_SavePdf.Free;