From 004381ddff4e926972a7a9d14915bb2f4638b1e5 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Thu, 16 Apr 2015 19:07:29 +0100 Subject: fix for fdo#70886 detective shape thingies set an anchor (with an invalid start address) no idea why, it seems intentional (for the case where the dependant stuff is on another tab) This screws up the alignment for zoom logic Change-Id: I0f2356da69caf705003e81c4f8020c466e031d69 Signed-off-by: Noel Power --- sc/source/ui/view/drawview.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx index 498b5cc0ddd7..afa14e194652 100644 --- a/sc/source/ui/view/drawview.cxx +++ b/sc/source/ui/view/drawview.cxx @@ -910,7 +910,7 @@ void ScDrawView::SyncForGrid( SdrObject* pObj ) if ( pGridWin ) { ScAddress aOldStt; - if( pData ) + if( pData && pData->maStart.IsValid()) { aOldStt = pData->maStart; } -- cgit v1.2.3