[Libreoffice-commits] .: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jan 23 07:59:50 PST 2013
sc/source/ui/view/drawview.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bdb66834887ec58cd9c602841c185a6629b13d6b
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
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 48a5504..e249e8c 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -756,7 +756,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