diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-06-20 11:44:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-06-21 14:13:07 +0200 |
commit | 65afee1494ac1f71b39e4b3dc1ced52c5f21de54 (patch) | |
tree | 59c0c8e4e14bb63877a2d11a27b5a02c7142524b | |
parent | 21cf4bb57665af0c7e2dad01729e8e18480c1b90 (diff) |
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 <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | svx/source/styles/CommonStylePreviewRenderer.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/styles/CommonStylePreviewRenderer.cxx b/svx/source/styles/CommonStylePreviewRenderer.cxx index 45360ba89eb9..a1096c5e3e80 100644 --- a/svx/source/styles/CommonStylePreviewRenderer.cxx +++ b/svx/source/styles/CommonStylePreviewRenderer.cxx @@ -134,6 +134,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()); } |