From 94855fbbb977d6acd42c32e157af664d0ede9739 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 11 Jul 2011 08:38:14 +0200 Subject: [PATCH] dmapper: remove last paragraph of footnotes This is the same trick as with headers/footers: the footnote always ends with an empty paragraph, but in Writer we need to remove this. --- writerfilter/source/dmapper/DomainMapper_Impl.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 7c077f2648b4..4a067d2f69ad 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -1335,6 +1335,7 @@ void DomainMapper_Impl::PushAnnotation() void DomainMapper_Impl::PopFootOrEndnote() { + RemoveLastParagraph(); m_aTextAppendStack.pop(); }