Kaydet (Commit) 6ef1eac7 authored tarafından Mike Kaganski's avatar Mike Kaganski

tdf#120703 (PVS): V519 variable is assigned values twice successively

V519 The 'xFontCharMap' variable is assigned values twice successively.
     Perhaps this is a mistake. Check lines: 1673, 1674.

Change-Id: I008c268bd2440e489d4cd50f94b4f04129589448
Reviewed-on: https://gerrit.libreoffice.org/62408Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
Tested-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst e48fc4d0
...@@ -1658,8 +1658,6 @@ bool WinSalGraphics::CreateFontSubset( const OUString& rToFile, ...@@ -1658,8 +1658,6 @@ bool WinSalGraphics::CreateFontSubset( const OUString& rToFile,
if( aRawCffData.get() ) if( aRawCffData.get() )
{ {
pWinFontData->UpdateFromHDC( getHDC() ); pWinFontData->UpdateFromHDC( getHDC() );
FontCharMapRef xFontCharMap = pWinFontData->GetFontCharMap();
xFontCharMap = nullptr;
// provide a font subset from the CFF-table // provide a font subset from the CFF-table
FILE* pOutFile = fopen( aToFile.getStr(), "wb" ); FILE* pOutFile = fopen( aToFile.getStr(), "wb" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment