diff options
Diffstat (limited to 'sw/inc/fldbas.hxx')
-rw-r--r-- | sw/inc/fldbas.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx index 661dd78bc020..453d2468e866 100644 --- a/sw/inc/fldbas.hxx +++ b/sw/inc/fldbas.hxx @@ -276,6 +276,8 @@ class SW_DLLPUBLIC SwField { private: mutable OUString m_Cache; ///< Cached expansion (for clipboard). + bool m_bUseFieldValueCache; /// control the usage of the cached field value + sal_uInt16 nLang; ///< Always change via SetLanguage! sal_Bool bIsAutomaticLanguage; sal_uInt32 nFormat; @@ -288,7 +290,10 @@ private: protected: void SetFormat(sal_uInt32 nSet) {nFormat = nSet;} - SwField(SwFieldType* pTyp, sal_uInt32 nFmt = 0, sal_uInt16 nLang = LANGUAGE_SYSTEM); + SwField( SwFieldType* pTyp, + sal_uInt32 nFmt = 0, + sal_uInt16 nLang = LANGUAGE_SYSTEM, + bool m_bUseFieldValueCache = true ); public: virtual ~SwField(); |