[PATCH] Change in core[libreoffice-4-0]: don't use ScDrawLayer::GetObjDataTab to get Anchor fix for f...
Noel Power (via Code Review)
gerrit at gerrit.libreoffice.org
Wed Jan 23 07:59:43 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1828
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/28/1828/1
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
---
M sc/source/ui/view/drawview.cxx
1 file changed, 1 insertion(+), 1 deletion(-)
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 @@
ScSplitPos eWhich = pViewData->GetActivePart();
ScGridWindow* pGridWin = (ScGridWindow*)pViewData->GetActiveWin();
- ScDrawObjData* pData = ScDrawLayer::GetObjDataTab( pObj, nTab );
+ ScDrawObjData* pData = ScDrawLayer::GetObjData( pObj );
if ( pGridWin )
{
ScAddress aOldStt;
--
To view, visit https://gerrit.libreoffice.org/1828
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5d240f80a9974f6e4032875ed00350c94621bde7
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Noel Power <noel.power at suse.com>
More information about the LibreOffice
mailing list