From ce2fb1d06217bffe3a072574792253e7c8cd7669 Mon Sep 17 00:00:00 2001 From: Elena Subbotina Date: Tue, 16 Aug 2022 10:35:47 +0300 Subject: [PATCH] fix build --- DesktopEditor/raster/Metafile/MetaFile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DesktopEditor/raster/Metafile/MetaFile.cpp b/DesktopEditor/raster/Metafile/MetaFile.cpp index 38fd453e5d..c834a9ba6e 100644 --- a/DesktopEditor/raster/Metafile/MetaFile.cpp +++ b/DesktopEditor/raster/Metafile/MetaFile.cpp @@ -84,8 +84,6 @@ namespace MetaFile std::wstring CMetaFile::ConvertToSvg(unsigned int unWidth, unsigned int unHeight) { -// if (NULL == wsFilePath) -// return; #ifdef METAFILE_SUPPORT_WMF_EMF if (c_lMetaWmf == m_lType) @@ -101,6 +99,7 @@ namespace MetaFile return ((CEmfInterpretatorSvg*)m_oEmfFile.GetEmfParser()->GetInterpretator())->GetFile(); } #endif + return L""; } #ifdef METAFILE_SUPPORT_WMF_EMF