[Libreoffice-commits] core.git: sd/source

Jim Raykowski (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 3 20:37:56 UTC 2020


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

New commits:
commit cbc43bef143f3109bdf3bf981317ae74b73cde5a
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Tue Dec 1 00:35:03 2020 -0900
Commit:     Jim Raykowski <raykowj at 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 <raykowj at 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));
     }
 


More information about the Libreoffice-commits mailing list