summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <orw@apache.org>2014-02-11 10:15:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-12 11:46:04 +0000
commite46392bbe25028528086a43a4c414dcb0acde401 (patch)
tree79b135fade1bc3641aa045b0400502c673f3f8d5
parent6a6e61368f252c24bb761417b78dceb9b7dea210 (diff)
Resolves: fdo#74780 #i124178# correct export of User Variable Input Fields
(cherry picked from commit b95fa33a4d2827adb8e16de5bae4e535d8c826c9) Conflicts: sw/source/core/unocore/unoportenum.cxx (cherry picked from commit 91f509fda9a04670e0752a214188be87bce1f2ac) Change-Id: If645dd2f02ef0e511e44615339d6403cc469c784
-rw-r--r--sw/source/core/unocore/unoportenum.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index 8d5377dfbb0a..b74558276ce7 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -748,7 +748,7 @@ lcl_ExportHints(
{
pUnoCrsr->Right(
- pAttr->GetFmtFld().GetField()->GetPar1().getLength() + 2,
+ pAttr->GetFmtFld().GetField()->ExpandField( true ).getLength() + 2,
CRSR_SKIP_CHARS,
sal_False,
sal_False );