summaryrefslogtreecommitdiff
path: root/vcl/win/gdi/winlayout.cxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2017-01-01 22:20:22 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2017-01-02 00:23:05 +0000
commit1b7e788eb3bf9cbe56ed5cc4a3fa7fa5e70ac40a (patch)
tree22f3cf0ce23ca99f1759502465627790f868a6f2 /vcl/win/gdi/winlayout.cxx
parent7633cbb0e84d20a36b2972c6fd5c0d5a5d6280a3 (diff)
The mfFontScale[n] is always 1.0
Change-Id: Ica2e67632f5bfe1f70ba7b2d7502257b47d053ce Reviewed-on: https://gerrit.libreoffice.org/32592 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl/win/gdi/winlayout.cxx')
-rw-r--r--vcl/win/gdi/winlayout.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index b60ce1b4a54f..04724d89ad46 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -601,8 +601,7 @@ int WinSalGraphics::GetMinKashidaWidth()
if( !mpWinFontEntry[0] )
return 0;
mpWinFontEntry[0]->InitKashidaHandling( getHDC() );
- int nMinKashida = static_cast<int>(mfFontScale[0] * mpWinFontEntry[0]->GetMinKashidaWidth());
- return nMinKashida;
+ return mpWinFontEntry[0]->GetMinKashidaWidth();
}
LogicalFontInstance * WinSalGraphics::GetWinFontEntry(int const nFallbackLevel)