From b26d9ca0a1a53a15982d7a7c85f5c50b59bcaacb Mon Sep 17 00:00:00 2001 From: Kirill Polyakov Date: Fri, 22 Dec 2023 20:10:02 +0300 Subject: [PATCH] Fixed a bug with missing gradient color in MetafileToSvg --- .../Metafile/Wmf/WmfInterpretator/CInterpretatorSvgBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DesktopEditor/raster/Metafile/Wmf/WmfInterpretator/CInterpretatorSvgBase.cpp b/DesktopEditor/raster/Metafile/Wmf/WmfInterpretator/CInterpretatorSvgBase.cpp index 884b4b2f16..bd34f35333 100644 --- a/DesktopEditor/raster/Metafile/Wmf/WmfInterpretator/CInterpretatorSvgBase.cpp +++ b/DesktopEditor/raster/Metafile/Wmf/WmfInterpretator/CInterpretatorSvgBase.cpp @@ -1075,7 +1075,7 @@ namespace MetaFile m_wsDefs += L"" + L"GetColor(), pBrush->GetAlpha()) + L"\"/>" + - L"GetColor(), pBrush->GetAlpha2()) + L"\"/>" + + L"GetColor2(), pBrush->GetAlpha2()) + L"\"/>" + L""; return wsStyleId;