From e209615b121f92f3668fc68903aa31e7ce6fdac6 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 12 Dec 2012 18:38:29 -0500 Subject: Revert "fix for bnc#791731 preserve cell formatting of datapilot area (" This reverts commit 307ac3f53d670a28e60471859aed03e4e13519d6. That change causes nasty side-effect of leaving behind borders and buttons that should've been removed when pivot table's geometry changes. Change-Id: I46fa84c128e755516fc699810c53c869188c6452 --- sc/source/ui/view/gridwin4.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'sc/source/ui/view/gridwin4.cxx') diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index 745e444dd962..aedcf22225f5 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -1236,8 +1236,6 @@ void ScGridWindow::DrawButtons( SCCOL nX1, SCROW /*nY1*/, SCCOL nX2, SCROW /*nY2 aCellBtn.setDrawBaseButton(true); aCellBtn.setDrawPopupButton(pInfo->bPopupButton); aCellBtn.setHasHiddenMember(pInfo->bFilterActive); - - aCellBtn.setFieldPattern( pDoc->GetPattern( nCol, nRow, nTab ) ); aCellBtn.draw(); } } -- cgit v1.2.3