summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/ddetbl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/fields/ddetbl.cxx')
-rw-r--r--sw/source/core/fields/ddetbl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/fields/ddetbl.cxx b/sw/source/core/fields/ddetbl.cxx
index c10a8b18c5cb..1756690d1384 100644
--- a/sw/source/core/fields/ddetbl.cxx
+++ b/sw/source/core/fields/ddetbl.cxx
@@ -176,7 +176,7 @@ BOOL SwDDETable::NoDDETable()
pNewTbl->GetTabLines().Insert( &GetTabLines(),0 ); // move die Lines
GetTabLines().Remove( 0, GetTabLines().Count() );
- if( pDoc->GetRootFrm() )
+ if( pDoc->GetCurrentViewShell() ) //swmod 071108//swmod 071225
((SwDDEFieldType*)aDepend.GetRegisteredIn())->DecRefCnt();
pTblNd->SetNewTable( pNewTbl ); // setze die Tabelle