diff options
Diffstat (limited to 'sc/source/ui/view/drawview.cxx')
-rw-r--r-- | sc/source/ui/view/drawview.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx index 30c934de4951..47e262ec83f3 100644 --- a/sc/source/ui/view/drawview.cxx +++ b/sc/source/ui/view/drawview.cxx @@ -264,9 +264,8 @@ void ScDrawView::UpdateWorkArea() SdrPage* pPage = GetModel()->GetPage(static_cast<sal_uInt16>(nTab)); if (pPage) { - Point aPos; Size aPageSize( pPage->GetSize() ); - tools::Rectangle aNewArea( aPos, aPageSize ); + tools::Rectangle aNewArea( Point(), aPageSize ); if ( aPageSize.Width() < 0 ) { // RTL: from max.negative (left) to zero (right) |