diff options
author | László Németh <nemeth@numbertext.org> | 2019-07-09 14:49:14 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-07-09 16:53:54 +0200 |
commit | 4248d759744f83a68d334a8b347124719a2886a8 (patch) | |
tree | ba8c8f13893c4c25f3141cceec498d3756536aae /sw/inc | |
parent | c6e07ec8799338405cbedf3cee22145c25e31742 (diff) |
tdf#126243 DOCX: export/reject tracked paragraph style change
Fix loss of rejection data (w:pStyle in w:pPrChange) during
DOCX export, also fix missing rejection of tracked paragraph
style changes during editing.
Change-Id: I8e6dc4e6d14e3237ff82d370f55031dcc12418c0
Reviewed-on: https://gerrit.libreoffice.org/75303
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/redline.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index 5cf4cba8dd08..7ae3af488d01 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -50,7 +50,7 @@ public: virtual bool operator == ( const SwRedlineExtraData& ) const; }; -class SwRedlineExtraData_FormatColl : public SwRedlineExtraData +class SW_DLLPUBLIC SwRedlineExtraData_FormatColl : public SwRedlineExtraData { OUString m_sFormatNm; std::unique_ptr<SfxItemSet> m_pSet; @@ -63,7 +63,9 @@ public: virtual void Reject( SwPaM& rPam ) const override; virtual bool operator == ( const SwRedlineExtraData& ) const override; + const OUString& GetFormatName() const { return m_sFormatNm; } void SetItemSet( const SfxItemSet& rSet ); + SfxItemSet* GetItemSet( ) const { return m_pSet.get(); } }; class SwRedlineExtraData_Format : public SwRedlineExtraData |