summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/fields.cxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-25 17:08:45 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-25 17:12:34 +0100
commitc16ba8a04fd4599e439e7e039705e41691c43acb (patch)
tree66a1c67973a674245548e10ff0746d1e473a7703 /sw/source/filter/ww8/fields.cxx
parente9eaf033646695987e218907a565b555b976c5c8 (diff)
Removed DBG_UTIL from sw
* Fixed the different dbglevel builds * This needed to change all the sw local ASSERT to OSL_ENSURE...
Diffstat (limited to 'sw/source/filter/ww8/fields.cxx')
-rw-r--r--sw/source/filter/ww8/fields.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/fields.cxx b/sw/source/filter/ww8/fields.cxx
index 79e0a2898b11..8df80add18f3 100644
--- a/sw/source/filter/ww8/fields.cxx
+++ b/sw/source/filter/ww8/fields.cxx
@@ -30,7 +30,8 @@
#include "precompiled_sw.hxx"
#include "fields.hxx"
-#include <errhdl.hxx> //ASSERT (use our own ww header later for asserts)
+#include <errhdl.hxx>
+#include <osl/diagnose.h>
#include <sal/macros.h>
#include <stddef.h>
@@ -144,7 +145,7 @@ namespace ww
size_t nIndex = static_cast<size_t>(eIndex);
if (nIndex >= SAL_N_ELEMENTS(aFieldNames))
eIndex = eNONE;
- ASSERT(eIndex != eNONE, "Unknown WinWord Field, let cmc know");
+ OSL_ENSURE(eIndex != eNONE, "Unknown WinWord Field, let cmc know");
return aFieldNames[eIndex];
}
}