diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-08-29 12:29:05 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-08-29 12:29:05 +0100 |
commit | 8f35c22bf68b81bd8ac14890067e1703030dfb5f (patch) | |
tree | 74560ac53642859cb5da8cdaf4276c9afd84c825 /src/reportengine | |
parent | 43aa202c42116d705cac030f2f0a078f45302883 (diff) | |
download | fpGUI-8f35c22bf68b81bd8ac14890067e1703030dfb5f.tar.xz |
pdf: fixes compiler error under Windows.
fpgOpenURL() will work in this case for both Linux and Windows, but it is
not the ideal solution. As the TODO entry says, we ultimately need to
implement a fpgViewFile() function.
Diffstat (limited to 'src/reportengine')
-rw-r--r-- | src/reportengine/u_report.pas | 5 |
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; |