diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-27 09:35:07 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-27 11:43:01 +0200 |
commit | 6ef1eac70343d7867e24fa4830081640b0e20351 (patch) | |
tree | a2edb0f906561032aba7d55144c24fc743d41384 /vcl | |
parent | e48fc4d011f43d5d2260e4db435fa925037cbcd8 (diff) |
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/62408
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/gdi/salfont.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index b5a0efbf047e..82c69c94a2c7 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -1658,8 +1658,6 @@ bool WinSalGraphics::CreateFontSubset( const OUString& rToFile, if( aRawCffData.get() ) { pWinFontData->UpdateFromHDC( getHDC() ); - FontCharMapRef xFontCharMap = pWinFontData->GetFontCharMap(); - xFontCharMap = nullptr; // provide a font subset from the CFF-table FILE* pOutFile = fopen( aToFile.getStr(), "wb" ); |