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

Shivam Kumar Singh (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 8 12:54:40 UTC 2020


 sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4541f80e7fabf4c7d250d8d31a1ef330540c7ffb
Author:     Shivam Kumar Singh <shivamhere247 at gmail.com>
AuthorDate: Wed Jul 8 10:04:33 2020 +0530
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Wed Jul 8 14:53:51 2020 +0200

    tdf#134568 Omit Default Character Styles
    
    Change-Id: Id3cdcb609c9edf3b3ed7a13d0d64a392479f81f1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98311
    Tested-by: Jenkins
    Tested-by: Heiko Tietze <heiko.tietze at documentfoundation.org>
    Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>

diff --git a/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx b/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx
index a81efa78a8b4..b4733e0c1633 100644
--- a/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx
+++ b/sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx
@@ -140,7 +140,7 @@ static void UpdateTree(SwDocShell* pDocSh, svx::sidebar::TreeNode& pParentNode,
         properties->getPropertyValue("ParaStyleName") >>= sCurrentStyleName;
 
     if (sCurrentStyleName.isEmpty())
-        sCurrentStyleName = "Standard";
+        return; // In case of Default Character Styles;
 
     while (true)
     {


More information about the Libreoffice-commits mailing list