diff options
author | Michael Stahl <mst@openoffice.org> | 2010-10-22 17:53:18 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-10-22 17:53:18 +0200 |
commit | 8485708f3001fca132c3353c464fe7187ef62bed (patch) | |
tree | f04855d6ac5ac30dee60841e4d68384d366baf2f /sw/source/core/tox/txmsrt.cxx | |
parent | d8cbf1a45ce09faf2ccce351b24573ee45641ca0 (diff) |
sw34bf01: #i85766# #i112425#: prevent expansion of fields in actual documents:
because various fields only expand to correct values with "special handling"
that is only done in text formatting, use the clipboard value cache even in
_real_ documents.
Diffstat (limited to 'sw/source/core/tox/txmsrt.cxx')
-rw-r--r-- | sw/source/core/tox/txmsrt.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/core/tox/txmsrt.cxx b/sw/source/core/tox/txmsrt.cxx index fa6149de051e..ba3145c1139b 100644 --- a/sw/source/core/tox/txmsrt.cxx +++ b/sw/source/core/tox/txmsrt.cxx @@ -868,9 +868,7 @@ USHORT SwTOXAuthority::GetLevel() const -----------------------------------------------------------------------*/ static String lcl_GetText(SwFmtFld const& rField) { - bool const isClipBoard( - rField.GetTxtFld()->GetTxtNode().GetDoc()->IsClipBoard()); - return rField.GetFld()->ExpandField(isClipBoard); + return rField.GetFld()->ExpandField(true); } void SwTOXAuthority::GetText_Impl( String& rTxt, String& ) const |