diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-11-05 01:20:24 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-11-05 09:28:50 +0100 |
commit | e52294558b84fd1877aee7b0ca145251a09c57cf (patch) | |
tree | 7e5ba0044f0e683fb54e0c4958389197e18a1c49 | |
parent | 2fb0b401ae351744773a19872377c076831f8c62 (diff) |
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
-rw-r--r-- | vcl/win/source/app/salinst.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
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()); } |