summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/dbfunc3.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-22 00:56:33 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-22 00:56:33 -0500
commit5c2a55c516e4a3fccb477c2863dbcf886792bc09 (patch)
tree327b76e55794ee6342ad44cfed236702a32b3444 /sc/source/ui/view/dbfunc3.cxx
parentab644126197f5cd3afe84991c19e65fb0161f1e2 (diff)
Removed commented out code.
Diffstat (limited to 'sc/source/ui/view/dbfunc3.cxx')
-rw-r--r--sc/source/ui/view/dbfunc3.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx
index 7a59901bc5d5..ea9d5314f362 100644
--- a/sc/source/ui/view/dbfunc3.cxx
+++ b/sc/source/ui/view/dbfunc3.cxx
@@ -738,15 +738,11 @@ ULONG ScDBFunc::RecalcPivotTable()
GetViewData()->GetTabNo() );
if ( pDPObj )
{
- //ScDBDocFunc aFunc( *pDocSh );
- //aFunc.DataPilotUpdate( pDPObj, pDPObj, TRUE, FALSE );
- //CursorPosChanged(); // shells may be switched
- ULONG nErrId = RefreshDPObject( pDPObj, pDoc, pDocSh, TRUE, FALSE );//pDPObj->RefreshCache();
+ ULONG nErrId = RefreshDPObject( pDPObj, pDoc, pDocSh, TRUE, FALSE );
if ( nErrId == 0 )
{
// There is no undo for the refresh of the cache table, but the undo history for cell changes
// remains valid and should be preserved, so the history isn't cleared here.
- //GetViewData()->GetDocShell()->GetUndoManager()->Clear();
}
else if (nErrId <= USHRT_MAX)
ErrorMessage(static_cast<USHORT>(nErrId));