https://bugs.documentfoundation.org/show_bug.cgi?id=39179

--- Comment #42 from Julien Nabet <serval2...@yahoo.fr> ---
Trying to find the different paths, I noticed this part

   5240 void DomainMapper_Impl::substream(Id rName,
   5241         ::writerfilter::Reference<Stream>::Pointer_t const& ref)
   5242 {
   5243 #ifndef NDEBUG
   5244     size_t contextSize(m_aContextStack.size());
   5245     size_t propSize[NUMBER_OF_CONTEXTS];
   5246     for (int i = 0; i < NUMBER_OF_CONTEXTS; ++i) {
   5247         propSize[i] = m_aPropertyStacks[i].size();
   5248     }
(see
http://opengrok.libreoffice.org/xref/core/writerfilter/source/dmapper/DomainMapper_Impl.cxx#5240)

for use here:
   5324     // check that stacks are the same as before substream
   5325     assert(m_aContextStack.size() == contextSize);
   5326     for (int i = 0; i < NUMBER_OF_CONTEXTS; ++i) {
   5327         assert(m_aPropertyStacks[i].size() == propSize[i]);
   5328     }

But if it allows to check that everything is ok in debug mode, I suppose this
part must be ok.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to