diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index d56594ed1895..ff70cfcec1ac 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -2113,8 +2113,6 @@ tools::Rectangle ScDocShell::GetVisArea( sal_uInt16 nAspect ) const nStartRow = nEndRow; tools::Rectangle aNewArea = m_aDocument .GetMMRect( nStartCol,nStartRow, nEndCol,nEndRow, nVisTab ); - //TODO/LATER: different methods for setting VisArea?! - const_cast(this)->SfxObjectShell::SetVisArea( aNewArea ); return aNewArea; } else