summaryrefslogtreecommitdiff
path: root/vcl/inc/impfont.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-05-10 11:44:15 +0200
committerEike Rathke <erack@redhat.com>2013-05-10 14:22:07 +0200
commit4afd9a501eae7c17c3ab8adf70d2d0146bd83fe1 (patch)
tree3f181da8663178f63dfc8521a1a79d962a39eacd /vcl/inc/impfont.hxx
parent8f0d943366f591db9142b6a9ffd9cd52b0652cbb (diff)
Font refcount is not uint16 (anymore)
Change-Id: I1aa89a8d6f712abb4f768a413ebac29e14612484
Diffstat (limited to 'vcl/inc/impfont.hxx')
-rw-r--r--vcl/inc/impfont.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx
index 0d91254b0612..1ac8bd65f020 100644
--- a/vcl/inc/impfont.hxx
+++ b/vcl/inc/impfont.hxx
@@ -32,6 +32,8 @@
// - Impl_Font -
// ------------
+typedef sal_uInt32 FontRefCount;
+
class Impl_Font
{
public:
@@ -50,7 +52,7 @@ private:
friend class Font;
void AskConfig();
- int mnRefCount;
+ FontRefCount mnRefCount;
String maFamilyName;
String maStyleName;
Size maSize;
@@ -99,7 +101,7 @@ private:
long mnLineHeight; // Ascent+Descent+EmphasisMark
long mnSlant; // Slant
sal_uInt16 mnMiscFlags; // Misc Flags
- sal_uInt32 mnRefCount; // Reference Counter
+ FontRefCount mnRefCount; // Reference Counter
enum { DEVICE_FLAG=1, SCALABLE_FLAG=2, LATIN_FLAG=4, CJK_FLAG=8, CTL_FLAG=16 };
@@ -206,7 +208,7 @@ private:
const sal_uInt16* mpGlyphIds; // individual glyphid mappings
int mnRangeCount;
int mnCharCount; // covered codepoints
- mutable int mnRefCount;
+ mutable FontRefCount mnRefCount;
};
// CmapResult is a normalized version of the many CMAP formats