[Libreoffice-commits] core.git: sc/source

Noel Power noel.power at suse.com
Fri Apr 17 04:09:08 PDT 2015


 sc/source/ui/view/drawview.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 004381ddff4e926972a7a9d14915bb2f4638b1e5
Author: Noel Power <noel.power at suse.com>
Date:   Thu Apr 16 19:07:29 2015 +0100

    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 at suse.com>

diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 498b5cc..afa14e1 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;
         }


More information about the Libreoffice-commits mailing list