summaryrefslogtreecommitdiffstats
path: root/emfio/source/reader
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-07-20 15:55:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-07-21 11:05:05 +0200
commit1f2ff4a0a31c7919bc6d4e0ac63024252f0bd889 (patch)
tree3c9747c3141c1078718fe8ebb0e8e8587fbe3418 /emfio/source/reader
parentAssume that all modern X servers have a unified display area (diff)
downloadcore-1f2ff4a0a31c7919bc6d4e0ac63024252f0bd889.tar.gz
core-1f2ff4a0a31c7919bc6d4e0ac63024252f0bd889.zip
loplugin:redundantcast small improvement
Change-Id: I2c96b367138b94d6178a3c4a0f83049f13a04f82 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154679 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'emfio/source/reader')
-rw-r--r--emfio/source/reader/mtftools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index f2446e1864de..0ba13d49727a 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -256,7 +256,7 @@ namespace emfio
aFont.SetOrientation( Degree10(static_cast<sal_Int16>(rFont.lfEscapement)) );
- Size aFontSize( Size( rFont.lfWidth, rFont.lfHeight ) );
+ Size aFontSize( rFont.lfWidth, rFont.lfHeight );
if ( rFont.lfHeight > 0 )
{
// #i117968# VirtualDevice is not thread safe, but filter is used in multithreading