[Libreoffice-commits] core.git: sax/source
Norbert Thiebaud
nthiebaud at gmail.com
Sat Jul 4 02:47:05 PDT 2015
sax/source/tools/fastserializer.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit a551d82bfc3ddae2354d39c90e31ad6eefcd1617
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sat Jul 4 04:46:32 2015 -0500
WaE do not us #if for DB_UTIL but #ifdef
Change-Id: I8b0a6c3323a4ffbe6a1ba09e5cff9ddd92ed49f1
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx
index a2ba5c15..2d4a2e1 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -426,7 +426,7 @@ namespace sax_fastparser {
if ( maMarkStack.size() == 1 && eMergeType != MERGE_MARKS_IGNORE)
{
-#if DBG_UTIL
+#ifdef DBG_UTIL
while (!maMarkStack.top()->m_DebugEndedElements.empty())
{
assert(maMarkStack.top()->m_DebugEndedElements.front() == m_DebugStartedElements.top());
@@ -447,13 +447,13 @@ namespace sax_fastparser {
return;
}
-#if DBG_UTIL
+#ifdef DBG_UTIL
::std::deque<sal_Int32> topDebugStartedElements(maMarkStack.top()->m_DebugStartedElements);
::std::deque<sal_Int32> topDebugEndedElements(maMarkStack.top()->m_DebugEndedElements);
#endif
const Int8Sequence aMerge( maMarkStack.top()->getData() );
maMarkStack.pop();
-#if DBG_UTIL
+#ifdef DBG_UTIL
switch (eMergeType)
{
case MERGE_MARKS_APPEND:
More information about the Libreoffice-commits
mailing list