Revert "LCL: Trim spaces in TPicture.FindGraphicClassWithFileExt". Not GUI code.

git-svn-id: trunk@39174 -
This commit is contained in:
juha 2012-10-28 08:38:40 +00:00
parent e4d8203192
commit a7ee575bcc

View File

@ -700,7 +700,7 @@ function TPicture.FindGraphicClassWithFileExt(const Ext: string;
var
FileExt: String;
begin
FileExt := Trim(Ext);
FileExt := Ext;
if (FileExt <> '') and (FileExt[1] = '.') then
FileExt := Copy(FileExt, 2, length(FileExt));
Result := GetPicFileFormats.FindExt(FileExt);