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

Stephan Bergmann sbergman at redhat.com
Mon Sep 21 03:08:12 PDT 2015


 slideshow/source/engine/smilfunctionparser.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 4c657f5a1a340ec9afe795d911625991f6a9cf7a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Sep 21 12:05:25 2015 +0200

    Properly #if these debug hooks
    
    ...moved here with 6fbab2ce87372bd98275d8239cd782d0ca6375e8 "loplugin:unreffun";
    this file still indirectly includes boost/scoped_ptr.hpp via. boost/spirit
    
    Change-Id: Ib2f251420950395f58415c1f7c944b7e8fd61476

diff --git a/slideshow/source/engine/smilfunctionparser.cxx b/slideshow/source/engine/smilfunctionparser.cxx
index 3cc64da..2dd955f 100644
--- a/slideshow/source/engine/smilfunctionparser.cxx
+++ b/slideshow/source/engine/smilfunctionparser.cxx
@@ -626,6 +626,8 @@ namespace slideshow
     }
 }
 
+#if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
+
 // debug hooks
 
 namespace boost
@@ -641,4 +643,6 @@ void sp_scalar_destructor_hook(void *)
 
 }
 
+#endif
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list