diff options
author | Noel Power <noel.power@suse.com> | 2013-01-23 15:25:41 +0000 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-01-26 23:30:11 +0000 |
commit | cfd69f75cf50a8730076346ea8db54f2094a5d13 (patch) | |
tree | 671f2e5892f7c506c34917e643c414b0888ce71e | |
parent | 5f94c53986276dbb6164bb0da887926d242418fe (diff) |
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@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-on: https://gerrit.libreoffice.org/1837
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sc/source/ui/view/drawview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx index 2c13e3413eae..6900932fa56a 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; |