diff options
author | Michael Stahl <mst@openoffice.org> | 2010-05-21 15:21:49 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-05-21 15:21:49 +0200 |
commit | d20b81017eb53c5c19a8aed6d5f785c469f91808 (patch) | |
tree | ff3d806335bf62299455ced753b5e9d4049eff56 /sw/inc/txtfld.hxx | |
parent | 047c38908df32c7de6634b1d5963b0df71d4e6e8 (diff) |
sw33bf04: #i85766#: prevent field expansion in clipboard:
SwField: add a String member to cache the value.
SwField: wrap Expand() and Copy() methods to use/update cache.
update all callers to pass the clipboard flag to new SwField::ExpandField().
Diffstat (limited to 'sw/inc/txtfld.hxx')
-rw-r--r-- | sw/inc/txtfld.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/txtfld.hxx b/sw/inc/txtfld.hxx index 1daff7d2e914..d0be4a008cab 100644 --- a/sw/inc/txtfld.hxx +++ b/sw/inc/txtfld.hxx @@ -41,7 +41,8 @@ class SwTxtFld : public SwTxtAttr SwTxtNode * m_pTxtNode; public: - SwTxtFld( SwFmtFld& rAttr, xub_StrLen nStart ); + SwTxtFld(SwFmtFld & rAttr, xub_StrLen const nStart, + bool const bInClipboard); virtual ~SwTxtFld(); void CopyFld( SwTxtFld *pDest ) const; |