diff options
author | Herbert Duerr [hdu] <duerr@sun.com> | 2010-08-17 15:22:46 +0200 |
---|---|---|
committer | Herbert Duerr [hdu] <duerr@sun.com> | 2010-08-17 15:22:46 +0200 |
commit | 7d7809aeea8923b004cd9b1982bc20a46b30d0d8 (patch) | |
tree | 390d182223d7c1ccc56d041e647e31c57d0daa10 /vcl/win/source/gdi/salgdi3.cxx | |
parent | 588516e12af81741174b16feb22bef6d5f5fc66e (diff) |
#i113604# allow refcounting for const ImplFontCharMap objects
Diffstat (limited to 'vcl/win/source/gdi/salgdi3.cxx')
-rw-r--r-- | vcl/win/source/gdi/salgdi3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx index 484771f37fee..1915b8643d96 100644 --- a/vcl/win/source/gdi/salgdi3.cxx +++ b/vcl/win/source/gdi/salgdi3.cxx @@ -2907,7 +2907,7 @@ BOOL WinSalGraphics::CreateFontSubset( const rtl::OUString& rToFile, if( aRawCffData.get() ) { pWinFontData->UpdateFromHDC( mhDC ); -/*const*/ImplFontCharMap* pCharMap = pWinFontData->GetImplFontCharMap(); + const ImplFontCharMap* pCharMap = pWinFontData->GetImplFontCharMap(); long nRealGlyphIds[ 256 ]; for( int i = 0; i < nGlyphCount; ++i ) @@ -3172,7 +3172,7 @@ void WinSalGraphics::GetGlyphWidths( const ImplFontData* pFont, rUnicodeEnc.clear(); } const ImplWinFontData* pWinFont = static_cast<const ImplWinFontData*>(pFont); - ImplFontCharMap* pMap = pWinFont->GetImplFontCharMap(); + const ImplFontCharMap* pMap = pWinFont->GetImplFontCharMap(); DBG_ASSERT( pMap && pMap->GetCharCount(), "no map" ); int nCharCount = pMap->GetCharCount(); |