summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/gridwin4.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-12-12 18:38:29 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-12-12 18:43:45 -0500
commite209615b121f92f3668fc68903aa31e7ce6fdac6 (patch)
tree3c4189db0a4b62f31ecd71623b74b9e68e91c52c /sc/source/ui/view/gridwin4.cxx
parent7eac2e42882fc36816b8b1f79e85abbe21bd40a0 (diff)
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
Diffstat (limited to 'sc/source/ui/view/gridwin4.cxx')
-rw-r--r--sc/source/ui/view/gridwin4.cxx2
1 files changed, 0 insertions, 2 deletions
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();
}
}