[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    needed to compile qrichtext.cpp with -DNDEBUG
From:       Krzysztof Kosz <krzysztof.kosz () poczta ! fm>
Date:       2002-06-07 21:02:30
[Download RAW message or body]

Hi !

As in subject. Apply to the lib/kotext dir. KoTextFormat::printDebug is 
ifdefed with -DNDEBUG, so debug output using it in qrichtext.cpp should be 
too. At least this worked for me :)

--- qrichtext.cpp.orig	Wed Jun  5 23:04:07 2002
+++ qrichtext.cpp	Fri Jun  7 14:38:40 2002
@@ -5844,6 +5844,7 @@
     }
 }

+#ifndef NDEBUG
 void KoTextFormatCollection::debug()
 {
     qDebug( "------------ KoTextFormatCollection: debug --------------- 
BEGIN" );
@@ -5857,6 +5858,7 @@
     }
     qDebug( "------------ KoTextFormatCollection: debug --------------- END" 
);
 }
+#endif

 void KoTextFormatCollection::updateStyles()
 {


regards,
Krzysztof Kosz


----------------------------------------------------------------------
Relacje z meczy na zywo, minuta po minucie!!!
>>> http://link.interia.pl/f15e3


____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic