[Libreoffice-commits] .: Branch 'libreoffice-4-0-0' - sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Jan 26 15:30:31 PST 2013


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

New commits:
commit cfd69f75cf50a8730076346ea8db54f2094a5d13
Author: Noel Power <noel.power at suse.com>
Date:   Wed Jan 23 15:25:41 2013 +0000

    don't use ScDrawLayer::GetObjDataTab to get Anchor fix for fdo#59325
    
    Seems ScDrawLayer::GetObjDataTab was used mistakenly thinking that only an anchor
    for that tab would be returned ( but actually whatever anchor is returned gets the
    tab set )
    
    Change-Id: I5d240f80a9974f6e4032875ed00350c94621bde7
    Reviewed-on: https://gerrit.libreoffice.org/1828
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Reviewed-on: https://gerrit.libreoffice.org/1837
    Reviewed-by: Kohei Yoshida <kohei.yoshida at gmail.com>
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 2c13e34..6900932 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -765,7 +765,7 @@ void ScDrawView::SyncForGrid( SdrObject* pObj )
 
     ScSplitPos eWhich = pViewData->GetActivePart();
     ScGridWindow* pGridWin = (ScGridWindow*)pViewData->GetActiveWin();
-    ScDrawObjData* pData = ScDrawLayer::GetObjDataTab( pObj, nTab );
+    ScDrawObjData* pData = ScDrawLayer::GetObjData( pObj );
     if ( pGridWin )
     {
         ScAddress aOldStt;


More information about the Libreoffice-commits mailing list