diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 08:48:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-17 08:25:06 +0200 |
commit | 16690220ed6e68f2e9674a09b5008f38c5e6ed8d (patch) | |
tree | 2f830b7ac23f136585e7dc4adf5d456f4995cc99 /sc/source/filter/excel/excform8.cxx | |
parent | 86d70dc840b88ed827d6d8febaf512264009951d (diff) |
loplugin:singlevalfields
tighten up the handling of binary operators
Change-Id: I262ec57bf7142fa094d240738150a94d83fd15ee
Reviewed-on: https://gerrit.libreoffice.org/61777
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/excel/excform8.cxx')
-rw-r--r-- | sc/source/filter/excel/excform8.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sc/source/filter/excel/excform8.cxx b/sc/source/filter/excel/excform8.cxx index 6cec86f94b11..e3eda3cfd5de 100644 --- a/sc/source/filter/excel/excform8.cxx +++ b/sc/source/filter/excel/excform8.cxx @@ -150,12 +150,6 @@ ConvErr ExcelToSc8::Convert( std::unique_ptr<ScTokenArray>& rpTokArray, XclImpSt ScComplexRefData aCRD; ExtensionTypeVec aExtensions; - if( eStatus != ConvErr::OK ) - { - aIn.Ignore( nFormulaLen ); - return eStatus; - } - if( nFormulaLen == 0 ) { aPool.Store( OUString( "-/-" ) ); @@ -967,12 +961,6 @@ ConvErr ExcelToSc8::Convert( ScRangeListTabs& rRangeList, XclImpStream& aIn, std ScSingleRefData aSRD; ScComplexRefData aCRD; - if( eStatus != ConvErr::OK ) - { - aIn.Ignore( nFormulaLen ); - return eStatus; - } - if( nFormulaLen == 0 ) return ConvErr::OK; @@ -1311,12 +1299,6 @@ void ExcelToSc8::ConvertExternName( std::unique_ptr<ScTokenArray>& rpArray, XclI ScSingleRefData aSRD; ScComplexRefData aCRD; - if (eStatus != ConvErr::OK) - { - rStrm.Ignore(nFormulaLen); - return; - } - if (nFormulaLen == 0) { aPool.Store(OUString("-/-")); |