From 1d467df12391ae7d1f56ef0cebc6c3c74fea0800 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Nov 2020 10:20:55 +0100 Subject: svl/source/svdde/ddedata.cxx is only compiled on Windows anyway (cf. svl/Library_svl.mk) Change-Id: Iff41c9c56c1e0ca52ea93268ddfa76b6630d2eb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106124 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- svl/source/svdde/ddedata.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'svl') diff --git a/svl/source/svdde/ddedata.cxx b/svl/source/svdde/ddedata.cxx index cbea590c0658..7cf9c0b1daa6 100644 --- a/svl/source/svdde/ddedata.cxx +++ b/svl/source/svdde/ddedata.cxx @@ -133,11 +133,9 @@ sal_uLong DdeData::GetExternalFormat(SotClipboardFormatId nFmt) return CF_METAFILEPICT; default: { -#if defined(_WIN32) OUString aName( SotExchange::GetFormatName( nFmt ) ); if( !aName.isEmpty() ) return RegisterClipboardFormatW( o3tl::toW(aName.getStr()) ); -#endif } } return static_cast(nFmt); @@ -154,7 +152,6 @@ SotClipboardFormatId DdeData::GetInternalFormat(sal_uLong nFmt) case CF_METAFILEPICT: return SotClipboardFormatId::GDIMETAFILE; default: -#if defined(_WIN32) if( nFmt >= CF_MAX ) { WCHAR szName[ 256 ]; @@ -162,7 +159,6 @@ SotClipboardFormatId DdeData::GetInternalFormat(sal_uLong nFmt) if(GetClipboardFormatNameW( nFmt, szName, SAL_N_ELEMENTS(szName) )) return SotExchange::RegisterFormatName( OUString(o3tl::toU(szName)) ); } -#endif break; } return static_cast(nFmt); -- cgit