summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
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/source/gdi
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/source/gdi')
-rw-r--r--vcl/source/gdi/font.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/font.cxx b/vcl/source/gdi/font.cxx
index 269527e848ec..81270c0adb4f 100644
--- a/vcl/source/gdi/font.cxx
+++ b/vcl/source/gdi/font.cxx
@@ -234,7 +234,7 @@ Font::Font()
Font::Font( const vcl::Font& rFont )
{
- bool bRefIncrementable = rFont.mpImplFont->mnRefCount < ::std::numeric_limits<FontRefCount>::max();
+ bool bRefIncrementable = rFont.mpImplFont->mnRefCount < ::std::numeric_limits<sal_uInt32>::max();
DBG_ASSERT( bRefIncrementable, "Font: RefCount overflow" );
mpImplFont = rFont.mpImplFont;
@@ -565,7 +565,7 @@ void Font::SetWordLineMode( bool bWordLine )
Font& Font::operator=( const vcl::Font& rFont )
{
- bool bRefIncrementable = rFont.mpImplFont->mnRefCount < ::std::numeric_limits<FontRefCount>::max();
+ bool bRefIncrementable = rFont.mpImplFont->mnRefCount < ::std::numeric_limits<sal_uInt32>::max();
DBG_ASSERT( bRefIncrementable, "Font: RefCount overflow" );
// Increment RefCount first, so that we can reference ourselves