diff options
author | Noel Power <noel.power@suse.com> | 2013-01-23 15:25:41 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-23 23:36:59 +0000 |
commit | a6433b4a9c053b7088d52b216c7d7cf8d9cdfcd7 (patch) | |
tree | 7bf899b98d4604d1a1ddeaaf661d13deba647eaa | |
parent | 685e5b185e0772a9bae9f67c9c281fd1cc6e7019 (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>
-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; |