summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-16 13:07:05 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-16 13:07:05 +0000
commit3ca5bcdfc0ff675aca1bc474ddc625a25bc67089 (patch)
tree3db40b513743ad74916f900b3823484fca042037 /configmgr
parent38a6baf84edbd4d1bd828e7ad8dc742d8c20689b (diff)
INTEGRATION: CWS sb88 (1.20.10); FILE MERGED
2008/06/03 15:29:54 sb 1.20.10.1: #i89553 applied patch by cmc
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/treemgr/roottree.cxx22
1 files changed, 1 insertions, 21 deletions
diff --git a/configmgr/source/treemgr/roottree.cxx b/configmgr/source/treemgr/roottree.cxx
index 18aebb8ffc..cad4baf74f 100644
--- a/configmgr/source/treemgr/roottree.cxx
+++ b/configmgr/source/treemgr/roottree.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: roottree.cxx,v $
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
* This file is part of OpenOffice.org.
*
@@ -116,12 +116,6 @@ CommitHelper::~CommitHelper()
}
//-----------------------------------------------------------------------------
-void CommitHelper::reset()
-{
- m_pData.reset();
-}
-
-//-----------------------------------------------------------------------------
bool CommitHelper::prepareCommit(TreeChangeList& rChangeList)
{
OSL_ENSURE(m_pTree,"ERROR: CommitHelper: Cannot commit without a tree");
@@ -162,20 +156,6 @@ void CommitHelper::finishCommit(TreeChangeList& rChangeList)
}
//-----------------------------------------------------------------------------
-void CommitHelper::revertCommit(TreeChangeList& rChangeList)
-{
- OSL_ENSURE(m_pTree,"INTERNAL ERROR: Nothing to finish without a tree");
-
- AbsolutePath aPath = m_pTree->getRootPath();
-
- OSL_ENSURE( rChangeList.getRootNodePath().toString() == aPath.toString(), "ERROR: FinishCommit cannot handle rebased changes trees");
- if ( !matches(rChangeList.getRootNodePath(), aPath) )
- throw configuration::Exception("INTERNAL ERROR: FinishCommit cannot handle rebased changes trees");
-
- view::ViewTreeAccess(*m_pTree).revertCommit(rChangeList.root);
-}
-//-----------------------------------------------------------------------------
-
void CommitHelper::failedCommit(TreeChangeList& rChangeList)
{
OSL_ENSURE(m_pTree,"INTERNAL ERROR: Nothing to finish without a tree");