From e52294558b84fd1877aee7b0ca145251a09c57cf Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Tue, 5 Nov 2013 01:20:24 +0100 Subject: Revert "Windows: SHARDAPPIDINFO since 0x0600" This reverts commit 9a4a84df5406cdcde1f4d23a1cea2b109998f35b This was false, because WINVER is currently set to 0x0500 in solenv/gbuild/platform/windows.mk. We need a runtime check like it's realised already and have to define the missing struct if necessary. Change-Id: I267dff1c8137657e47bdc4ad5ae81d511d7b9d5f --- vcl/win/source/app/salinst.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'vcl') diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx index ee720364911e..22917e81800c 100644 --- a/vcl/win/source/app/salinst.cxx +++ b/vcl/win/source/app/salinst.cxx @@ -1044,7 +1044,6 @@ void WinSalInstance::AddToRecentDocumentList(const OUString& rFileUrl, const OUS if (osl::FileBase::E_None == rc) { -#if WINVER >= 0x0600 if ( aSalShlData.mbW7 ) { typedef HRESULT ( WINAPI *SHCREATEITEMFROMPARSINGNAME )( PCWSTR, IBindCtx*, REFIID, void **ppv ); @@ -1104,9 +1103,6 @@ void WinSalInstance::AddToRecentDocumentList(const OUString& rFileUrl, const OUS } } } -#else - (void) rDocumentService; -#endif // For whatever reason, we could not use the SHARD_APPIDINFO semantics SHAddToRecentDocs(SHARD_PATHW, (PCWSTR) system_path.getStr()); } -- cgit