You've already forked lazarus-ccr
fpspreadsheet: Fix ooxml writer for conditional formatting broken in one of previous commits.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7513 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -391,6 +391,8 @@ const
|
|||||||
);
|
);
|
||||||
|
|
||||||
function CFOperandToStr(v: Variant): String;
|
function CFOperandToStr(v: Variant): String;
|
||||||
|
const
|
||||||
|
ERR = cardinal(-1);
|
||||||
var
|
var
|
||||||
r, c: Cardinal;
|
r, c: Cardinal;
|
||||||
begin
|
begin
|
||||||
@ -401,7 +403,7 @@ begin
|
|||||||
if Result[1] = '=' then
|
if Result[1] = '=' then
|
||||||
Delete(Result, 1, 1)
|
Delete(Result, 1, 1)
|
||||||
else
|
else
|
||||||
if ParseCellString(Result, r, c) then
|
if ParseCellString(Result, r, c) and (r <> ERR) and (c <> ERR) then
|
||||||
Result := GetCellString(r, c, [])
|
Result := GetCellString(r, c, [])
|
||||||
else
|
else
|
||||||
if VarIsStr(v) then
|
if VarIsStr(v) then
|
||||||
|
Reference in New Issue
Block a user