[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Tue May 26 01:57:20 PDT 2015


 sw/source/core/unocore/unocrsr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ecdbd313838093055c66614d7e5793aacae7c5bd
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 26 10:54:41 2015 +0200

    Silence failing assert for now
    
    ...recently introduced with 692c886f937c525d6bfcb541917a5114b085efa9 "remove the
    weak_ptrs on destruction too," but causing lots of CppunitTests to fail.
    
    Change-Id: I9a958531473ba338499bac37282d934a51801e12

diff --git a/sw/source/core/unocore/unocrsr.cxx b/sw/source/core/unocore/unocrsr.cxx
index 88c627e..265ac4f 100644
--- a/sw/source/core/unocore/unocrsr.cxx
+++ b/sw/source/core/unocore/unocrsr.cxx
@@ -40,7 +40,7 @@ SwUnoCrsr::~SwUnoCrsr()
     SwDoc* pDoc = GetDoc();
     if( !pDoc->IsInDtor() )
     {
-#ifdef DBG_UTIL
+#ifdef DBG_UTIL_TODO
         SwIterator<SwClient, SwUnoCrsr> pClient(*this);
         assert(!pClient.First());
 #endif


More information about the Libreoffice-commits mailing list