summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2015-04-16 19:07:29 +0100
committerNoel Power <noel.power@suse.com>2015-04-17 12:06:32 +0100
commit004381ddff4e926972a7a9d14915bb2f4638b1e5 (patch)
tree4352ad0b89843f9547434bc768b63fb70f8cda73
parent5ed0006b385849896d399241639cc8883e9bca47 (diff)
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 <noel.power@suse.com>
-rw-r--r--sc/source/ui/view/drawview.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}