diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-04-05 00:17:37 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2013-04-05 00:17:37 +0100 |
commit | 53f0a941d5490dbc01f9d8f220eb583a3fc5f84a (patch) | |
tree | 5096b8f236f0d1e88971b970ca62bc7979e4dd60 /docview/src | |
parent | 5a2f413b691379d24f2ec8158d5de9cbf627547d (diff) | |
download | fpGUI-53f0a941d5490dbc01f9d8f220eb583a3fc5f84a.tar.xz |
docview: removes commented code we don't use or need any more.
Diffstat (limited to 'docview/src')
-rw-r--r-- | docview/src/HelpFile.pas | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/docview/src/HelpFile.pas b/docview/src/HelpFile.pas index cc4657d9..ce3d9f8a 100644 --- a/docview/src/HelpFile.pas +++ b/docview/src/HelpFile.pas @@ -321,29 +321,6 @@ const entries.AddObject(anIndexEntry.getLabel, anIndexEntry); end; - - - -//Procedure OnLanguageEvent( Language: TLanguageFile; -// const Apply: boolean ); -//var -// tmpPrefix : String; -//begin -// tmpPrefix := 'HelpFile' + LANGUAGE_LABEL_DELIMITER; -// -// Language.LL( Apply, FileErrorNotFound, tmpPrefix + 'FileErrorNotFound', 'File not found' ); -// Language.LL( Apply, FileErrorAccessDenied, tmpPrefix + 'FileErrorAccessDenied', 'Access denied' ); -// Language.LL( Apply, FileErrorInUse, tmpPrefix + 'FileErrorInUse', 'File in use by another program' ); -// Language.LL( Apply, -// FileErrorInvalidHeader, -// tmpPrefix + 'FileErrorInvalidHeader', -// 'File doesn''t appear to be an OS/2 Help document (header ID not correct)' ); -// Language.LL( Apply, -// ErrorCorruptHelpFile, -// tmpPrefix + 'ErrorCorruptHelpFile', -// 'File is corrupt' ); -//end; - Function TopicFile( Topic: TTopic ): THelpFile; Begin Result := Topic.HelpFile as THelpFile; @@ -1119,9 +1096,7 @@ begin + ': ' + e.Message );} begin -// Bitmap := THelpBitmap.Create; Bitmap := THelpBitmap(fpgImages.GetImage('stdimg.dlg.critical')); -// Bitmap.LoadFromResourceName( 'MissingBitmap' ); // TODO: Add image resource to DocView end; end; |