diff options
Diffstat (limited to 'sd/source/helper/simplereferencecomponent.cxx')
-rw-r--r-- | sd/source/helper/simplereferencecomponent.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/helper/simplereferencecomponent.cxx b/sd/source/helper/simplereferencecomponent.cxx index 4cf2ffcab08b..57c792ea5b0c 100644 --- a/sd/source/helper/simplereferencecomponent.cxx +++ b/sd/source/helper/simplereferencecomponent.cxx @@ -88,12 +88,12 @@ void * SimpleReferenceComponent::operator new(std::size_t nSize) void * SimpleReferenceComponent::operator new(std::size_t nSize, std::nothrow_t const & -#ifndef WNT +#ifndef _WIN32 rNothrow #endif ) { -#if defined WNT +#if defined(_WIN32) return ::operator new(nSize); // WNT lacks a global nothrow operator new... #else // WNT @@ -108,12 +108,12 @@ void SimpleReferenceComponent::operator delete(void * pPtr) void SimpleReferenceComponent::operator delete(void * pPtr, std::nothrow_t const & -#ifndef WNT +#ifndef _WIN32 rNothrow #endif ) { -#if defined WNT +#if defined(_WIN32) ::operator delete(pPtr); // WNT lacks a global nothrow operator delete... #else // WNT ::operator delete(pPtr, rNothrow); |