Bugzilla – Attachment 135095 Details for
Bug 111305
PIVOT TABLE: Group disappears after renaming
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
hotfix patch
0001-tdf-111305-Fix-group-name-refresh-in-pivot-table.patch (text/plain), 1.11 KB, created by
Dimitri Bouron
on 2017-08-03 10:08:46 UTC
(
hide
)
Description:
hotfix patch
Filename:
MIME Type:
Creator:
Dimitri Bouron
Created:
2017-08-03 10:08:46 UTC
Size:
1.11 KB
patch
obsolete
>From ee2dc793cfd63497f548ccd6570c6032dc879ee3 Mon Sep 17 00:00:00 2001 >From: Dimitri Bouron <bouron.d@gmail.com> >Date: Thu, 3 Aug 2017 11:57:48 +0200 >Subject: [PATCH] tdf#111305: Fix group name refresh in pivot table > >Change-Id: Ibc22bfba5765aba3014651df50afb23b893d2b5a >--- > sc/source/ui/view/dbfunc3.cxx | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx >index c0b91e6d1056..699b0c0ed3ac 100644 >--- a/sc/source/ui/view/dbfunc3.cxx >+++ b/sc/source/ui/view/dbfunc3.cxx >@@ -1571,6 +1571,14 @@ void ScDBFunc::DataPilotInput( const ScAddress& rPos, const OUString& rString ) > // apply changes > ScDBDocFunc aFunc( *GetViewData().GetDocShell() ); > pDPObj->SetSaveData( aData ); >+ ScDPCollection* pDPs = pDoc->GetDPCollection(); >+ if (!pDPs) >+ return; >+ >+ std::set<ScDPObject*> aRefs; >+ // tdf#111305: Reload groups in cache after modifications. >+ if (!pDPs->ReloadGroupsInCache(pDPObj, aRefs)) >+ return; > aFunc.UpdatePivotTable(*pDPObj, true, false); > } > else >-- >2.11.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 111305
:
135094
| 135095