diff options
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index bbe2bff7c845..9ccbf096fc10 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -204,7 +204,7 @@ void ScDocShell::Execute( SfxRequest& rReq ) SCTAB nTab = static_cast<const SfxInt16Item*>(pTabItem)->GetValue() - 1; SCTAB nTabCount = m_aDocument.GetTableCount(); - if ( ValidCol(nCol) && ValidRow(nRow) && ValidTab(nTab,nTabCount) ) + if ( m_aDocument.ValidCol(nCol) && m_aDocument.ValidRow(nRow) && ValidTab(nTab,nTabCount) ) { if ( m_aDocument.IsBlockEditable( nTab, nCol,nRow, nCol, nRow ) ) { |