svx/source/styles/CommonStylePreviewRenderer.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit d8e6d7a86adb102ae1bb4df99ef73ebead962105
Author: Caolán McNamara <[email protected]>
Date:   Tue Jun 20 11:44:47 2017 +0100

    tdf#93968 bullet char style preview is unreadable, cause uses opensymbol
    
    Change-Id: I1bd0a0e85c9d956184680d7e15709b3a7b590c30
    Reviewed-on: https://gerrit.libreoffice.org/39010
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/39053
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/svx/source/styles/CommonStylePreviewRenderer.cxx 
b/svx/source/styles/CommonStylePreviewRenderer.cxx
index 94da71084d82..b2acf184b79d 100644
--- a/svx/source/styles/CommonStylePreviewRenderer.cxx
+++ b/svx/source/styles/CommonStylePreviewRenderer.cxx
@@ -133,6 +133,8 @@ bool CommonStylePreviewRenderer::recalculate()
     if ((pItem = pItemSet->GetItem(SID_ATTR_CHAR_FONT)) != nullptr)
     {
         const SvxFontItem* pFontItem = static_cast<const SvxFontItem*>(pItem);
+        if (IsStarSymbol(pFontItem->GetFamilyName()))
+            return false;
         pFont->SetFamilyName(pFontItem->GetFamilyName());
         pFont->SetStyleName(pFontItem->GetStyleName());
     }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to