diff options
author | Eike Rathke <erack@redhat.com> | 2018-01-26 19:37:03 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-01-26 19:51:15 +0100 |
commit | af2a2a0c72db312902e466c36697b5c198041e82 (patch) | |
tree | 95df200f393f6ac1e4f9223d06c5a5ea017c0135 /sc/source | |
parent | 1710f23e2152ec53a9d90c9bff850c9f4f026053 (diff) |
CheckLinkFormulaNeedingCheck() for .xls conditional format expressions
Change-Id: Iafa112cc591b411d80ead48bf726788d361f6eb3
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/excel/xicontent.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xicontent.cxx b/sc/source/filter/excel/xicontent.cxx index 626963c3a2a2..4fa17cdf3633 100644 --- a/sc/source/filter/excel/xicontent.cxx +++ b/sc/source/filter/excel/xicontent.cxx @@ -662,7 +662,10 @@ void XclImpCondFormat::ReadCF( XclImpStream& rStrm ) rFmlaConv.Convert( pTokArr, rStrm, nFmlaSize1, false, FT_CondFormat ); // formula converter owns pTokArr -> create a copy of the token array if( pTokArr ) + { xTokArr1.reset( pTokArr->Clone() ); + GetDocRef().CheckLinkFormulaNeedingCheck( *xTokArr1); + } } ::std::unique_ptr< ScTokenArray > pTokArr2; @@ -673,7 +676,10 @@ void XclImpCondFormat::ReadCF( XclImpStream& rStrm ) rFmlaConv.Convert( pTokArr, rStrm, nFmlaSize2, false, FT_CondFormat ); // formula converter owns pTokArr -> create a copy of the token array if( pTokArr ) + { pTokArr2.reset( pTokArr->Clone() ); + GetDocRef().CheckLinkFormulaNeedingCheck( *pTokArr2); + } } // *** create the Calc conditional formatting *** |