summaryrefslogtreecommitdiff
path: root/sw/source/filter/ascii/parasc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ascii/parasc.cxx')
-rw-r--r--sw/source/filter/ascii/parasc.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ascii/parasc.cxx b/sw/source/filter/ascii/parasc.cxx
index a1b7c90884e6..852b5b5432f0 100644
--- a/sw/source/filter/ascii/parasc.cxx
+++ b/sw/source/filter/ascii/parasc.cxx
@@ -234,7 +234,8 @@ sal_uLong SwASCIIParser::CallParser()
pDoc->getIDocumentContentOperations().InsertItemSet( *pInsPam, *pItemSet );
}
}
- delete pItemSet, pItemSet = nullptr;
+ delete pItemSet;
+ pItemSet = nullptr;
}
delete pInsPam;