Reduce code duplication
Change-Id: If45bd7d2d5c5ebda9fa8020138353c1224b2e1c8
This commit is contained in:
parent
03a1143cc7
commit
4a411ab35a
1 changed files with 1 additions and 1 deletions
|
@ -3446,7 +3446,7 @@ void ScDocument::SetValue( const ScAddress& rPos, double fVal )
|
|||
|
||||
OUString ScDocument::GetString( SCCOL nCol, SCROW nRow, SCTAB nTab ) const
|
||||
{
|
||||
if (ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()) && maTabs[nTab])
|
||||
if (TableExists(nTab))
|
||||
{
|
||||
OUString aStr;
|
||||
maTabs[nTab]->GetString(nCol, nRow, aStr);
|
||||
|
|
Loading…
Reference in a new issue