summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-06 17:35:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-06 18:13:59 +0200
commit02e462f5b15ff5ca00992349fdbc79689ccb3863 (patch)
treec7e14d43f884dd01320e3df000270feef1cb9801 /sw
parent660931a01916bb1386d5855fffd25d355d2c627c (diff)
Remove unused bNeedDel parameter to SwCntntNode::DelFrms
Change-Id: Iedc5e8caafda868db853fdf328fbdc99bbf28e20
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/node.hxx2
-rw-r--r--sw/source/core/docnode/node.cxx8
-rw-r--r--sw/source/core/docnode/nodes.cxx2
3 files changed, 5 insertions, 7 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 4de9d182c952..d58da5c390fb 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -427,7 +427,7 @@ public:
Add an input param to identify if acc table should be disposed
*/
- void DelFrms( bool bNeedDel = false, bool bIsAccTableDispose = true );
+ void DelFrms( bool bIsAccTableDispose = true );
/** @return count of elements of node content. Default is 1.
There are differences between text node and formula node. */
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index e315529821e3..1628967a6067 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -913,7 +913,7 @@ SwCntntNode::~SwCntntNode()
// The base class SwClient of SwFrm excludes itself from the dependency list!
// Thus, we need to delete all Frames in the dependency list.
if( GetDepends() )
- DelFrms(true, false);
+ DelFrms(false);
delete pCondColl;
@@ -1224,11 +1224,9 @@ void SwCntntNode::MakeFrms( SwCntntNode& rNode )
* Deletes all Views from the Doc for this Node.
* The ContentFrames are removed from the corresponding Layout.
*
- * An input param to identify if the acc table should be disposed. and a
- * flag(bNeedDel) to indicate whether to del corresponding frm even in doc
- * loading process,
+ * An input param to identify if the acc table should be disposed.
*/
-void SwCntntNode::DelFrms( bool /*bNeedDel*/, bool bIsDisposeAccTable )
+void SwCntntNode::DelFrms( bool bIsDisposeAccTable )
{
if( !GetDepends() )
return;
diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx
index 169c78fc9fb6..06375d943b11 100644
--- a/sw/source/core/docnode/nodes.cxx
+++ b/sw/source/core/docnode/nodes.cxx
@@ -799,7 +799,7 @@ bool SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
//Add special function to text node.
{
if( bNewFrms && pAktNode->GetCntntNode() )
- ((SwCntntNode*)pAktNode)->DelFrms( false );
+ ((SwCntntNode*)pAktNode)->DelFrms();
pAktNode->pStartOfSection = aSttNdStack[ nLevel ];
nInsPos++;
aRg.aEnd--;