summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/atrtox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/txtnode/atrtox.cxx')
-rw-r--r--sw/source/core/txtnode/atrtox.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/atrtox.cxx b/sw/source/core/txtnode/atrtox.cxx
index 9cdaa14f2a3d..46379ba01bac 100644
--- a/sw/source/core/txtnode/atrtox.cxx
+++ b/sw/source/core/txtnode/atrtox.cxx
@@ -72,14 +72,14 @@ void SwTxtTOXMark::CopyTOXMark( SwDoc* pDoc )
}
}
// kein entsprechender Typ vorhanden -> neu erzeugen
- //
+
if(!pType)
{
pDoc->InsertTOXType( SwTOXType( eType, rNm ) );
pType = pDoc->GetTOXType(eType, 0);
}
// Verzeichnistyp umhaengen
- //
+
((SwTOXType*)pType)->Add( &rTOX );
}