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/unocore/unofield.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/unocore/unofield.cxx')
-rw-r--r-- | sw/source/core/unocore/unofield.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx index d5a84de322d5..f63fee217e29 100644 --- a/sw/source/core/unocore/unofield.cxx +++ b/sw/source/core/unocore/unofield.cxx @@ -1275,7 +1275,7 @@ OUString SwXTextField::getPresentation(sal_Bool bShowCommand) throw( uno::Runtim } ::rtl::OUString const ret( (bShowCommand) ? pField->GetFieldName() - : pField->ExpandField( GetDoc()->IsClipBoard() ) ); + : pField->ExpandField(true) ); return ret; } /* -----------------18.02.99 13:39------------------- |