fpspreadsheet: Remove twice quoting of worksheet names containing forbidden characters. https://forum.lazarus.freepascal.org/index.php/topic,67918.msg523859

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9394 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2024-07-17 15:57:54 +00:00
parent d36dbd8f13
commit 0374c7314f

View File

@ -1316,9 +1316,6 @@ begin
if (ASheet1 = '') and (ASheet2 = '') then
exit;
if SheetNameNeedsQuotes(ASheet1) then ASheet1 := QuotedStr(ASheet1);
if SheetNameNeedsQuotes(ASheet2) then ASheet2 := QuotedStr(ASheet2);
if ASheet2 = '' then
Result := Format('%s!%s', [ASheet1, Result])
else if Compact and (ASheet1 = ASheet2) then