Kaydet (Commit) b0cd0b11 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Fix MSVC warnings and errors, fallout from previous commit

üst 104587b4
...@@ -33,16 +33,15 @@ ...@@ -33,16 +33,15 @@
// includes // includes
//------------------------------------------------------------------------ //------------------------------------------------------------------------
#include <shobjidl.h>
// Without IFileDialog we can't do much
#ifdef __IFileDialog_INTERFACE_DEFINED__
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning (disable:4917) #pragma warning (disable:4917)
#endif #endif
#include "VistaFilePicker.hxx" #include "VistaFilePicker.hxx"
// Without IFileDialog we can't do much
#ifdef __IFileDialog_INTERFACE_DEFINED__
#include "WinFileOpenImpl.hxx" #include "WinFileOpenImpl.hxx"
#include "../misc/WinImplHelper.hxx" #include "../misc/WinImplHelper.hxx"
#include "shared.hxx" #include "shared.hxx"
......
...@@ -29,12 +29,11 @@ ...@@ -29,12 +29,11 @@
// MARKER(update_precomp.py): autogen include statement, do not remove // MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_fpicker.hxx" #include "precompiled_fpicker.hxx"
#include <shobjidl.h> #include "VistaFilePickerEventHandler.hxx"
// Without IFileDialog we can't do much // Without IFileDialog we can't do much
#ifdef __IFileDialog_INTERFACE_DEFINED__ #ifdef __IFileDialog_INTERFACE_DEFINED__
#include "VistaFilePickerEventHandler.hxx"
#include "asyncrequests.hxx" #include "asyncrequests.hxx"
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
......
...@@ -30,13 +30,11 @@ ...@@ -30,13 +30,11 @@
// includes // includes
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#include <shobjidl.h> #include "VistaFilePickerImpl.hxx"
// Without IFileDialog we can't do much // Without IFileDialog we can't do much
#ifdef __IFileDialog_INTERFACE_DEFINED__ #ifdef __IFileDialog_INTERFACE_DEFINED__
#include "VistaFilePickerImpl.hxx"
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp> #include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <com/sun/star/ui/dialogs/ControlActions.hpp> #include <com/sun/star/ui/dialogs/ControlActions.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp> #include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
......
...@@ -37,6 +37,8 @@ ...@@ -37,6 +37,8 @@
#pragma warning( disable : 4917 ) #pragma warning( disable : 4917 )
#endif #endif
#include "platform_vista.h"
#if defined _MSC_VER #if defined _MSC_VER
#pragma warning(push, 1) #pragma warning(push, 1)
#endif #endif
...@@ -48,7 +50,6 @@ ...@@ -48,7 +50,6 @@
// Without IFileDialog we can't do this // Without IFileDialog we can't do this
#ifdef __IFileDialog_INTERFACE_DEFINED__ #ifdef __IFileDialog_INTERFACE_DEFINED__
#include "platform_vista.h"
#include "asyncrequests.hxx" #include "asyncrequests.hxx"
#include "comptr.hxx" #include "comptr.hxx"
#include "vistatypes.h" #include "vistatypes.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment