vcl/source/filter/wmf/wmfwr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 546a8d72cf64d6eb8a2bfe5adb3c31ea07afad8f Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Wed Feb 14 21:55:14 2024 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Thu Feb 15 18:07:29 2024 +0100 GetExtendedTextEncoding for RTL_TEXTENCODING_MS_1252 just returns same i.e. GetExtendedTextEncoding calls GetExtendedCompatibilityTextEncoding if the arg is RTL_TEXTENCODING_MS_1252 and that just return its input for this case. Change-Id: If60a8c73a38c060bbc8d11b1ebeaf41bed89a13c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163414 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx index 13a9406a377b..3e3267c8e647 100644 --- a/vcl/source/filter/wmf/wmfwr.cxx +++ b/vcl/source/filter/wmf/wmfwr.cxx @@ -1766,7 +1766,7 @@ bool WMFWriter::WriteWMF( const GDIMetaFile& rMTF, SvStream& rTargetStream, aDstClipRegion = aSrcClipRegion = vcl::Region(); vcl::Font aFont; - aFont.SetCharSet( GetExtendedTextEncoding( RTL_TEXTENCODING_MS_1252 ) ); + aFont.SetCharSet(RTL_TEXTENCODING_MS_1252); aFont.SetColor( COL_WHITE ); aFont.SetAlignment( ALIGN_BASELINE ); aDstFont = aSrcFont = aFont;