Kaydet (Commit) 02e462f5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused bNeedDel parameter to SwCntntNode::DelFrms

Change-Id: Iedc5e8caafda868db853fdf328fbdc99bbf28e20
üst 660931a0
......@@ -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. */
......
......@@ -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;
......
......@@ -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--;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment