summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-09-22 11:25:46 +0200
committerMichael Stahl <mstahl@redhat.com>2017-09-25 15:15:30 +0200
commit680464618dc67bdf0fb9c948f46b8eb1acae93ea (patch)
tree1d59d4b2e92d24e044b3fc91ae4e4827e7da7ccb /vcl
parentf2efde611c5a682a0084177e87454df188fe7df8 (diff)
vcl: [loplugin:badstatics] rename xDefaultImplFontCharMap
It looks harmless. Change-Id: Ibe54b9059f46ced95602914bf852d342aef89905
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/font/fontcharmap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/font/fontcharmap.cxx b/vcl/source/font/fontcharmap.cxx
index 8d5137db308f..8da0e78c05c0 100644
--- a/vcl/source/font/fontcharmap.cxx
+++ b/vcl/source/font/fontcharmap.cxx
@@ -32,7 +32,7 @@ CmapResult::CmapResult( bool bSymbolic,
, mbRecoded( false)
{}
-static ImplFontCharMapRef xDefaultImplFontCharMap;
+static ImplFontCharMapRef g_pDefaultImplFontCharMap;
static const sal_UCS4 aDefaultUnicodeRanges[] = {0x0020,0xD800, 0xE000,0xFFF0};
static const sal_UCS4 aDefaultSymbolRanges[] = {0x0020,0x0100, 0xF020,0xF100};
@@ -73,9 +73,9 @@ ImplFontCharMapRef const & ImplFontCharMap::getDefaultMap( bool bSymbols )
}
CmapResult aDefaultCR( bSymbols, pRangeCodes, nCodesCount/2 );
- xDefaultImplFontCharMap = ImplFontCharMapRef(new ImplFontCharMap(aDefaultCR));
+ g_pDefaultImplFontCharMap = ImplFontCharMapRef(new ImplFontCharMap(aDefaultCR));
- return xDefaultImplFontCharMap;
+ return g_pDefaultImplFontCharMap;
}
bool ImplFontCharMap::isDefaultMap() const