summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
Diffstat (limited to 'sal/rtl')
-rw-r--r--sal/rtl/alloc_impl.hxx6
-rw-r--r--sal/rtl/string.cxx4
-rw-r--r--sal/rtl/ustring.cxx4
3 files changed, 0 insertions, 14 deletions
diff --git a/sal/rtl/alloc_impl.hxx b/sal/rtl/alloc_impl.hxx
index bb46a544f7b0..0c5340303ae5 100644
--- a/sal/rtl/alloc_impl.hxx
+++ b/sal/rtl/alloc_impl.hxx
@@ -193,13 +193,7 @@ typedef pthread_mutex_t rtl_memory_lock_type;
#elif defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
-#ifdef _MSC_VER
-#pragma warning(push,1) /* disable warnings within system headers */
-#endif
#include <windows.h>
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
typedef CRITICAL_SECTION rtl_memory_lock_type;
diff --git a/sal/rtl/string.cxx b/sal/rtl/string.cxx
index b9047b987fde..d9dfd51f4c51 100644
--- a/sal/rtl/string.cxx
+++ b/sal/rtl/string.cxx
@@ -19,10 +19,6 @@
#include <sal/config.h>
-#ifdef _MSC_VER
-#pragma warning(disable:4738) // storing 32-bit float result in memory, possible loss of performance
-#endif
-
#include <cassert>
#include <cstdlib>
diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx
index 64fb1c3edd39..069af06516cb 100644
--- a/sal/rtl/ustring.cxx
+++ b/sal/rtl/ustring.cxx
@@ -19,10 +19,6 @@
#include <sal/config.h>
-#ifdef _MSC_VER
-#pragma warning(disable:4738) // storing 32-bit float result in memory, possible loss of performance
-#endif
-
#include <cassert>
#include <cstdlib>
#include <limits>