summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-10-04 15:32:54 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-10-04 15:32:54 +1000
commitd244a0c1af7e5448d46cfa3172bcee5799f38087 (patch)
treee3d1084a86392fd2098c75ad73f51e72635107b8 /vcl/inc
parentbcfa2ea2225875c53c9e8935ecc2740c3bc0db94 (diff)
vcl: remove FontRefCount typedef
There is honestly no real need for FontRefCount. I really cannot see why this typedef was ever introduced into the codebase Change-Id: Ifa24a95cf6c788b4b11a4425520a2f6bc0e61169
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/impfont.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx
index 434db48ef1d8..3c42f6e1a465 100644
--- a/vcl/inc/impfont.hxx
+++ b/vcl/inc/impfont.hxx
@@ -31,8 +31,6 @@
// - Impl_Font -
-typedef sal_uInt32 FontRefCount;
-
class Impl_Font
{
public:
@@ -51,7 +49,7 @@ private:
friend class vcl::Font;
void AskConfig();
- FontRefCount mnRefCount;
+ sal_uInt32 mnRefCount;
OUString maFamilyName;
OUString maStyleName;
Size maSize;
@@ -98,7 +96,7 @@ private:
long mnLineHeight; // Ascent+Descent+EmphasisMark
long mnSlant; // Slant
sal_uInt16 mnMiscFlags; // Misc Flags
- FontRefCount mnRefCount; // Reference Counter
+ sal_uInt32 mnRefCount; // Reference Counter
enum { DEVICE_FLAG=1, SCALABLE_FLAG=2, LATIN_FLAG=4, CJK_FLAG=8, CTL_FLAG=16 };
@@ -194,7 +192,7 @@ private:
const sal_uInt16* mpGlyphIds; // individual glyphid mappings
int mnRangeCount;
int mnCharCount; // covered codepoints
- mutable FontRefCount mnRefCount;
+ mutable sal_uInt32 mnRefCount;
};
// CmapResult is a normalized version of the many CMAP formats