From 8da06340788296e5004f1625fc39fbf2a4c93fc9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 15 Mar 2022 19:18:58 +0100 Subject: -Werror,-Wdeprecated-enum-enum-conversion ...after 3e7dd04dd8ca1baea4b7918eb7a7080c595c4625 "tdf#145614 Convert #define to enum and constexpr" Change-Id: I3ef1d17295e99c040125acd4b03fd5096848a0e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131630 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- emfio/qa/cppunit/wmf/wmfimporttest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emfio') diff --git a/emfio/qa/cppunit/wmf/wmfimporttest.cxx b/emfio/qa/cppunit/wmf/wmfimporttest.cxx index 31511202abcd..1ae7416521aa 100644 --- a/emfio/qa/cppunit/wmf/wmfimporttest.cxx +++ b/emfio/qa/cppunit/wmf/wmfimporttest.cxx @@ -336,7 +336,7 @@ void WmfTest::testTdf99402() logfontw.lfUnderline = 0; logfontw.lfStrikeOut = 0; logfontw.lfCharSet = emfio::CharacterSet::OEM_CHARSET; - logfontw.lfPitchAndFamily = emfio::FamilyFont::FF_ROMAN | emfio::PitchFont::DEFAULT_PITCH; + logfontw.lfPitchAndFamily = +emfio::FamilyFont::FF_ROMAN | +emfio::PitchFont::DEFAULT_PITCH; logfontw.alfFaceName = "Symbol"; emfio::WinMtfFontStyle fontStyle(logfontw); -- cgit