mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-12 02:01:18 +01:00
cocoa: Fixes wrong interpretation of sandboxing tetx
git-svn-id: trunk@47811 -
This commit is contained in:
parent
4996f81eb9
commit
cd3feb8828
@ -340,16 +340,8 @@ begin
|
|||||||
case AMimeType of
|
case AMimeType of
|
||||||
'text/plain':
|
'text/plain':
|
||||||
begin
|
begin
|
||||||
if SandboxingOn then
|
lNSStr := NSPasteboardTypeString;
|
||||||
begin
|
lDataType := ccdtText;
|
||||||
lDataType := ccdtNonStandard;
|
|
||||||
lClassClass := TClipboardString.ClassClass;
|
|
||||||
end
|
|
||||||
else
|
|
||||||
begin
|
|
||||||
lNSStr := NSPasteboardTypeString;
|
|
||||||
lDataType := ccdtText;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
{'image/bmp', 'image/xpm', 'image/delphi.bitmap':
|
{'image/bmp', 'image/xpm', 'image/delphi.bitmap':
|
||||||
begin
|
begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user