Kaydet (Commit) b9df8ad9 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:returnconstant in XclImpChangeTrack

Change-Id: Ib7670dd3595af4a4aafa2502a5e3b2ed4ad7fe11
Reviewed-on: https://gerrit.libreoffice.org/59135
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst c135f51b
......@@ -102,7 +102,7 @@ public:
// reads extended 3D ref info following the formulas, returns sc tab nums
// ( called by XclImpChTrFmlConverter::Read3DTabReference() )
bool Read3DTabRefInfo( SCTAB& rFirstTab, SCTAB& rLastTab, ExcelToSc8::ExternalTabInfo& rExtInfo );
void Read3DTabRefInfo( SCTAB& rFirstTab, SCTAB& rLastTab, ExcelToSc8::ExternalTabInfo& rExtInfo );
void Apply();
};
......
......@@ -146,7 +146,7 @@ bool XclImpChangeTrack::CheckRecord( sal_uInt16 nOpCode )
return aRecHeader.nIndex != 0;
}
bool XclImpChangeTrack::Read3DTabRefInfo( SCTAB& rFirstTab, SCTAB& rLastTab, ExcelToSc8::ExternalTabInfo& rExtInfo )
void XclImpChangeTrack::Read3DTabRefInfo( SCTAB& rFirstTab, SCTAB& rLastTab, ExcelToSc8::ExternalTabInfo& rExtInfo )
{
if( LookAtuInt8() == 0x01 )
{
......@@ -178,7 +178,6 @@ bool XclImpChangeTrack::Read3DTabRefInfo( SCTAB& rFirstTab, SCTAB& rLastTab, Exc
rExtInfo.maTabName = aTabName;
rFirstTab = rLastTab = 0;
}
return true;
}
void XclImpChangeTrack::ReadFormula( ScTokenArray*& rpTokenArray, const ScAddress& rPosition )
......@@ -515,7 +514,8 @@ XclImpChTrFmlConverter::~XclImpChTrFmlConverter()
bool XclImpChTrFmlConverter::Read3DTabReference( sal_uInt16 /*nIxti*/, SCTAB& rFirstTab, SCTAB& rLastTab,
ExternalTabInfo& rExtInfo )
{
return rChangeTrack.Read3DTabRefInfo( rFirstTab, rLastTab, rExtInfo );
rChangeTrack.Read3DTabRefInfo( rFirstTab, rLastTab, rExtInfo );
return true;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment