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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 23 15:37:19 PST 2013


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

New commits:
commit a6433b4a9c053b7088d52b216c7d7cf8d9cdfcd7
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>

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