diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-07 14:16:28 +0100 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-15 15:10:06 +0100 |
commit | ae246b44da1708417aaaefe4f9186cfbbb9a9137 (patch) | |
tree | 75eaa1ae6c5af4a3eb948fadb6cb7db1e1ca5f08 /sw/inc | |
parent | 43a7231c96b5d132e8cc349553ff6efaba9d5ed0 (diff) |
sw_redlinehide_3: add second result to SwGetRefField
... and init it in SwGetRefField::UpdateField().
Change-Id: I69af00678e84214d4a122d8b2d940fcdda5f4ccf
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/reffld.hxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx index a3764451f5a4..7e02260d5ba6 100644 --- a/sw/inc/reffld.hxx +++ b/sw/inc/reffld.hxx @@ -83,18 +83,15 @@ class SW_DLLPUBLIC SwGetRefField : public SwField private: OUString m_sSetRefName; OUString m_sSetReferenceLanguage; - OUString m_sText; + OUString m_sText; ///< result + OUString m_sTextRLHidden; ///< result for layout with redlines hidden sal_uInt16 m_nSubType; + /// reference to either a SwTextFootnote::m_nSeqNo or a SwSetExpField::mnSeqNo sal_uInt16 m_nSeqNo; virtual OUString Expand() const override; virtual std::unique_ptr<SwField> Copy() const override; - // #i81002# - static OUString MakeRefNumStr( const SwTextNode& rTextNodeOfField, - const SwTextNode& rTextNodeOfReferencedItem, - const sal_uInt32 nRefNumFormat ); - public: SwGetRefField( SwGetRefFieldType*, const OUString& rSetRef, const OUString& rReferenceLanguage, sal_uInt16 nSubType, sal_uInt16 nSeqNo, sal_uLong nFormat ); @@ -114,7 +111,7 @@ public: no update for these reference format types. */ void UpdateField( const SwTextField* pFieldTextAttr ); - void SetExpand( const OUString& rStr ) { m_sText = rStr; } + void SetExpand( const OUString& rStr ); /// Get/set sub type. virtual sal_uInt16 GetSubType() const override; |