summaryrefslogtreecommitdiff
path: root/bean
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-01-31 10:08:45 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-01-31 21:02:06 +0100
commit0b3ecd909ca337d920cca412d9813851ace55da1 (patch)
tree005935db9fbc80376055db63a6f4428794fbfe5f /bean
parent7a42f3966378d5a43193e3d6db6f27bc319c3616 (diff)
bean: MSVC: pragma warning: make more specific, remove obsolete
Change-Id: Id575db58199f438e95d9c73778cc520c452e1a42 Reviewed-on: https://gerrit.libreoffice.org/48948 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'bean')
-rw-r--r--bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c b/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c
index dd19fe7931b8..5d1bdb0f5cc8 100644
--- a/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c
+++ b/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c
@@ -17,19 +17,14 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#if defined _MSC_VER
-#pragma warning(push, 1)
-#endif
#if !defined WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
-#if defined _MSC_VER
-#pragma warning(pop)
-#endif
#if defined _MSC_VER
-#pragma warning(push, 1)
+#pragma warning(push)
+#pragma warning(disable : 4201) /* nonstandard extension used: nameless struct/union */
#endif
#include <jawt_md.h>
#if defined _MSC_VER