diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-05-25 12:14:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-05-25 13:45:40 +0200 |
commit | fa63fe59a14d3d39c87517ceef9a7fc5c4e7261c (patch) | |
tree | 328c019c7ebb27ba2e7e16f521fb96db1bd7eeec /vcl/win | |
parent | 4384ee727ce00db931e6d23d526c467b0491941c (diff) |
remove (un-)definitions of NDEBUG from source files
The build system already defines NDEBUG only if OSL_DEBUG_LEVEL=0 AND
ASSERT_ALWAYS_ABORT=FALSE so the C++ code shouldn't override that.
Change-Id: Ie67a576646cc7e18c3ffac67a3c81b80747ea438
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/gdi/salfont.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index d198dc678319..e72bb1dca4f4 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -911,7 +911,6 @@ static FILE * grLog() else fflush(grLogFile); return grLogFile; } -#undef NDEBUG #endif const void * getGrTable(const void* appFaceHandle, unsigned int name, size_t *len) @@ -962,9 +961,6 @@ GrFontData::~GrFontData() const void * GrFontData::getTable(unsigned int name, size_t *len) const { -#ifdef DEBUG -#undef NDEBUG -#endif assert(mhDC); // swap the bytes union TtfTag { |