diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-01-13 09:48:48 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-01-13 09:53:32 +0100 |
commit | 9ae3ad21422da1ed9693bdc9d14a06b15657c11f (patch) | |
tree | 4d8726d0e76f987ffb1f8c89e7e7209665c4e59b /sw/source/filter/ww8/docxattributeoutput.hxx | |
parent | 38ab09ecea3a983b315c6a69b1a941e45a933320 (diff) |
DOCX export: fix nested comments
Change-Id: I9e252ab5645de8f88d0d4c6c0023402d86dd2e9e
Diffstat (limited to 'sw/source/filter/ww8/docxattributeoutput.hxx')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx index 3375895d249f..87bafdcde4fe 100644 --- a/sw/source/filter/ww8/docxattributeoutput.hxx +++ b/sw/source/filter/ww8/docxattributeoutput.hxx @@ -783,7 +783,9 @@ private: const SdrObject* m_postponedChart; Size m_postponedChartSize; const SwField* pendingPlaceholder; - std::vector< const SwPostItField* > m_postitFields; + /// Maps postit fields to ID's, used in commentRangeStart/End, commentReference and comment.xml. + std::vector< std::pair<const SwPostItField*, sal_Int32> > m_postitFields; + /// Number of postit fields which already have a commentReference written. unsigned int m_postitFieldsMaxId; int m_anchorId; int m_nextFontId; |