summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/scanner/scanwin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/source/scanner/scanwin.cxx b/extensions/source/scanner/scanwin.cxx
index 9ff5ee1470a5..bca80931cab6 100644
--- a/extensions/source/scanner/scanwin.cxx
+++ b/extensions/source/scanner/scanwin.cxx
@@ -50,10 +50,14 @@
#include <vcl/salbtype.hxx>
#include "scanner.hxx"
+#if defined MSC
#pragma warning (push,1)
#pragma warning (disable:4668)
+#endif
#include "twain/twain.h"
+#if defined MSC
#pragma warning (pop)
+#endif
using namespace ::com::sun::star;