summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/DomainMapper_Impl.cxx
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2016-10-11 10:39:32 +0200
committerAndras Timar <andras.timar@collabora.com>2016-10-11 10:39:32 +0200
commitfc74cf662ce4c50e9f9e65d843bc5ea85f4e8e4e (patch)
tree2bf63b1a6a622fdaeda66e7515867e3cd9eb0ae1 /writerfilter/source/dmapper/DomainMapper_Impl.cxx
parentbee4d76b85645bca795c6f15c322ccba9a7074e2 (diff)
Revert "tdf#75573 - docx don't remove frame anchor paragraph"cp-5.1-9
Diffstat (limited to 'writerfilter/source/dmapper/DomainMapper_Impl.cxx')
-rw-r--r--writerfilter/source/dmapper/DomainMapper_Impl.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 6ccbb830e028..40c2e18d0258 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -216,7 +216,6 @@ DomainMapper_Impl::DomainMapper_Impl(
m_bIsFirstParaInSection( true ),
m_bDummyParaAddedForTableInSection( false ),
m_bTextFrameInserted(false),
- m_bIsLastParagraphFramed( false ),
m_bIsLastParaInSection( false ),
m_bIsLastSectionGroup( false ),
m_bIsInComments( false ),
@@ -1190,16 +1189,6 @@ void DomainMapper_Impl::finishParagraph( PropertyMapPtr pPropertyMap )
}
}
- if( (pParaContext && pParaContext->IsFrameMode())
- || (IsInHeaderFooter() && GetIsLastParagraphFramed()) )
- {
- SetIsLastParagraphFramed(true);
- }
- else
- {
- SetIsLastParagraphFramed(false);
- }
-
m_bParaChanged = false;
if (!pParaContext || !pParaContext->IsFrameMode())
{ // If the paragraph is in a frame, it's not a paragraph of the section itself.