summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-12 14:57:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-12 14:57:14 +0100
commit662af47c3c1628700661a8d5ccfee784f7e2195b (patch)
tree5fe01f01779457d50ebdaeb3208ce02e8cbfcb4f
parent16076f120340673ad64df1614206f0e13e3539d5 (diff)
Related: fdo#82259 OpenSymbol doesn't have 0x2706 or 0x2704 so no preview
Change-Id: I2164cb2c37c7b13759e47561002024fd2bb577f9
-rw-r--r--svtools/source/misc/sampletext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/misc/sampletext.cxx b/svtools/source/misc/sampletext.cxx
index 257a97fe1f33..63c05773894a 100644
--- a/svtools/source/misc/sampletext.cxx
+++ b/svtools/source/misc/sampletext.cxx
@@ -90,7 +90,7 @@ OUString makeShortRepresentativeSymbolTextForSelectedFont(OutputDevice &rDevice)
static const sal_Unicode aImplSymbolFontText[] = {
0xF021,0xF032,0xF043,0xF054,0xF065,0xF076,0xF0B7,0xF0C8,0};
static const sal_Unicode aImplStarSymbolText[] = {
- 0x2706,0x2704,0x270D,0xE033,0x2211,0x2288,0};
+ 0x2702,0x2708,0x270D,0xE033,0x2211,0x2288,0};
const sal_Unicode* pText = bOpenSymbol ? aImplStarSymbolText : aImplSymbolFontText;
OUString sSampleText(pText);
bool bHasSampleTextGlyphs = (-1 == rDevice.HasGlyphs(rDevice.GetFont(), sSampleText));