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@suse.com>
Context
- [PATCH] Change in core[libreoffice-4-0]: don't use ScDrawLayer::GetObjDataTab to get Anchor fix for f... · Noel Power (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.