[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sw/source

Oliver-Rainer Wittmann orw at apache.org
Wed Feb 12 03:46:53 PST 2014


 sw/source/core/unocore/unoportenum.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e46392bbe25028528086a43a4c414dcb0acde401
Author: Oliver-Rainer Wittmann <orw at apache.org>
Date:   Tue Feb 11 10:15:45 2014 +0000

    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

diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index 8d5377d..b745582 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 );


More information about the Libreoffice-commits mailing list