sw/source/uibase/utlui/content.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit e6b9fab8be5f4a8de5126d1f3be82e0c738af9a0
Author:     Jim Raykowski <rayk...@gmail.com>
AuthorDate: Sun Jul 31 18:34:51 2022 -0800
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Aug 8 19:30:49 2022 +0200

    tdf#149916 follow up to include expand field text
    
    in cross-reference entry text
    
    Change-Id: Iaff06e02d272bbe41e63da5356e6c9a6f67c26f9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137665
    Tested-by: Jenkins
    Reviewed-by: Jim Raykowski <rayk...@gmail.com>
    (cherry picked from commit a0e09cf64eea663122043294b848ac1bb8f05ac9)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137966
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/source/uibase/utlui/content.cxx 
b/sw/source/uibase/utlui/content.cxx
index f0fe95f508f3..9506827fa325 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -695,7 +695,8 @@ void SwContentType::FillMemberList(bool* pbContentChanged)
                             sExpandedTextOfReferencedTextNode = 
OUString::Concat(
                                         
sExpandedTextOfReferencedTextNode.subView(0, 80)) + u"...";
                         }
-                        sText = pField->GetDescription() + u" - " + 
sExpandedTextOfReferencedTextNode;
+                        sText = pField->GetDescription() + u" - "
+                                + sExpandedTextOfReferencedTextNode + 
sExpandField;
                     }
                     else
                     {

Reply via email to