summaryrefslogtreecommitdiff
path: root/src/corelib/gdi
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-29 11:56:54 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-29 11:56:54 +0200
commit817b52396b1625a186dfe40ec9f282d2c392b6aa (patch)
tree32875661d8f8cb3739daaf9ad8507f7c061a3d4a /src/corelib/gdi
parent206f0498c7b78638535af6536c9468a8a63d6b30 (diff)
downloadfpGUI-817b52396b1625a186dfe40ec9f282d2c392b6aa.tar.xz
Bugfix in EnumDataToStringList()
We can't just go adding mime types without actual data associated with each entry. So now we match the mime stringlist to exact data count in IDataObject
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r--src/corelib/gdi/fpg_oledragdrop.pas4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/corelib/gdi/fpg_oledragdrop.pas b/src/corelib/gdi/fpg_oledragdrop.pas
index 6c7dc4e9..316c9799 100644
--- a/src/corelib/gdi/fpg_oledragdrop.pas
+++ b/src/corelib/gdi/fpg_oledragdrop.pas
@@ -298,10 +298,6 @@ begin
lName := WindowsClipboardFormatToString(FE.cfFormat);
end;
Result.Add(lName);
- { Lets add the mime type too if we can find one }
- lMimeName := WindowsMimeLookup(lName);
- if lName <> lMimeName then
- Result.Add(lMimeName);
end;
end;