summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-01-23 15:25:41 +0000
committerNoel Power <noel.power@suse.com>2013-01-23 15:54:37 +0000
commitbdb66834887ec58cd9c602841c185a6629b13d6b (patch)
treec881604cacae0e917299f2b141588de20b4a248d /sc
parentUpdated core (diff)
downloadcore-bdb66834887ec58cd9c602841c185a6629b13d6b.tar.gz
core-bdb66834887ec58cd9c602841c185a6629b13d6b.zip
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
Diffstat (limited to 'sc')
-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 48a550418905..e249e8c884dc 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;