sw/source/uibase/sidebar/WriterInspectorTextPanel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4541f80e7fabf4c7d250d8d31a1ef330540c7ffb Author: Shivam Kumar Singh <shivamhere...@gmail.com> AuthorDate: Wed Jul 8 10:04:33 2020 +0530 Commit: Mike Kaganski <mike.kagan...@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.tie...@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tie...@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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits