sd/source/ui/dlg/sdtreelb.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cbc43bef143f3109bdf3bf981317ae74b73cde5a
Author:     Jim Raykowski <rayk...@gmail.com>
AuthorDate: Tue Dec 1 00:35:03 2020 -0900
Commit:     Jim Raykowski <rayk...@gmail.com>
CommitDate: Thu Dec 3 21:37:19 2020 +0100

    tdf#34828 sd navigator: enhance automatic shape name
    
    appends defined singular object name to automatic shape name
    
    Change-Id: Ia49eef8e1448c5973c6bbf451c22de252f9939dd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106957
    Tested-by: Jenkins
    Reviewed-by: Jim Raykowski <rayk...@gmail.com>

diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index 68ca6bdbff69..bd9215fcb5b1 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -758,7 +758,7 @@ OUString SdPageObjsTLV::GetObjectName(
         && aRet.isEmpty()
         && pObject!=nullptr)
     {
-        aRet = SdResId(STR_NAVIGATOR_SHAPE_BASE_NAME);
+        aRet = SdResId(STR_NAVIGATOR_SHAPE_BASE_NAME) + " (" + 
pObject->TakeObjNameSingul() +")";
         aRet = aRet.replaceFirst("%1", OUString::number(pObject->GetOrdNum() + 
1));
     }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to