Author: orw
Date: Tue Feb 11 10:15:45 2014
New Revision: 1567024

URL: http://svn.apache.org/r1567024
Log:
124178: correct export of User Variable Input Fields


Modified:
    openoffice/trunk/main/sw/source/core/unocore/unoportenum.cxx

Modified: openoffice/trunk/main/sw/source/core/unocore/unoportenum.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/unocore/unoportenum.cxx?rev=1567024&r1=1567023&r2=1567024&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/core/unocore/unoportenum.cxx (original)
+++ openoffice/trunk/main/sw/source/core/unocore/unoportenum.cxx Tue Feb 11 
10:15:45 2014
@@ -892,7 +892,7 @@ lcl_ExportHints(
                     {
 
                         pUnoCrsr->Right(
-                            pAttr->GetFmtFld().GetField()->GetPar1().Len() + 2,
+                            pAttr->GetFmtFld().GetField()->ExpandField( true 
).Len() + 2,
                             CRSR_SKIP_CHARS,
                             sal_False,
                             sal_False );


Reply via email to