Kaydet (Commit) a551d82b authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

WaE do not us #if for DB_UTIL but #ifdef

Change-Id: I8b0a6c3323a4ffbe6a1ba09e5cff9ddd92ed49f1
üst ab39f8c2
...@@ -426,7 +426,7 @@ namespace sax_fastparser { ...@@ -426,7 +426,7 @@ namespace sax_fastparser {
if ( maMarkStack.size() == 1 && eMergeType != MERGE_MARKS_IGNORE) if ( maMarkStack.size() == 1 && eMergeType != MERGE_MARKS_IGNORE)
{ {
#if DBG_UTIL #ifdef DBG_UTIL
while (!maMarkStack.top()->m_DebugEndedElements.empty()) while (!maMarkStack.top()->m_DebugEndedElements.empty())
{ {
assert(maMarkStack.top()->m_DebugEndedElements.front() == m_DebugStartedElements.top()); assert(maMarkStack.top()->m_DebugEndedElements.front() == m_DebugStartedElements.top());
...@@ -447,13 +447,13 @@ namespace sax_fastparser { ...@@ -447,13 +447,13 @@ namespace sax_fastparser {
return; return;
} }
#if DBG_UTIL #ifdef DBG_UTIL
::std::deque<sal_Int32> topDebugStartedElements(maMarkStack.top()->m_DebugStartedElements); ::std::deque<sal_Int32> topDebugStartedElements(maMarkStack.top()->m_DebugStartedElements);
::std::deque<sal_Int32> topDebugEndedElements(maMarkStack.top()->m_DebugEndedElements); ::std::deque<sal_Int32> topDebugEndedElements(maMarkStack.top()->m_DebugEndedElements);
#endif #endif
const Int8Sequence aMerge( maMarkStack.top()->getData() ); const Int8Sequence aMerge( maMarkStack.top()->getData() );
maMarkStack.pop(); maMarkStack.pop();
#if DBG_UTIL #ifdef DBG_UTIL
switch (eMergeType) switch (eMergeType)
{ {
case MERGE_MARKS_APPEND: case MERGE_MARKS_APPEND:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment