[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Fri Jan 21 21:56:50 PST 2011
sc/source/ui/view/dbfunc3.cxx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
New commits:
commit f4abc88f9758ae6dcf5fca4c5a283a1b1187a4bb
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Sat Jan 22 00:56:33 2011 -0500
Removed commented out code.
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx
index 1878492..c1a4333 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));
More information about the Libreoffice-commits
mailing list