[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Fri Jan 26 18:51:42 UTC 2018
sc/source/filter/excel/xicontent.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit af2a2a0c72db312902e466c36697b5c198041e82
Author: Eike Rathke <erack at redhat.com>
Date: Fri Jan 26 19:37:03 2018 +0100
CheckLinkFormulaNeedingCheck() for .xls conditional format expressions
Change-Id: Iafa112cc591b411d80ead48bf726788d361f6eb3
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 ***
More information about the Libreoffice-commits
mailing list