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

Stephan Bergmann sbergman at redhat.com
Mon Sep 21 01:32:04 PDT 2015


 slideshow/source/engine/smilfunctionparser.cxx |   15 +++++++++++++++
 slideshow/source/engine/sp_debug.cxx           |    8 --------
 2 files changed, 15 insertions(+), 8 deletions(-)

New commits:
commit 6fbab2ce87372bd98275d8239cd782d0ca6375e8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Sep 21 10:31:14 2015 +0200

    loplugin:unreffun
    
    Change-Id: I526b9e1cff25a30c3f6b935c1a11ef571f7a12ea

diff --git a/slideshow/source/engine/smilfunctionparser.cxx b/slideshow/source/engine/smilfunctionparser.cxx
index 7ded14f..3cc64da 100644
--- a/slideshow/source/engine/smilfunctionparser.cxx
+++ b/slideshow/source/engine/smilfunctionparser.cxx
@@ -626,4 +626,19 @@ namespace slideshow
     }
 }
 
+// debug hooks
+
+namespace boost
+{
+
+void sp_scalar_constructor_hook(void *)
+{
+}
+
+void sp_scalar_destructor_hook(void *)
+{
+}
+
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/slideshow/source/engine/sp_debug.cxx b/slideshow/source/engine/sp_debug.cxx
index 0a68607..38d507a 100644
--- a/slideshow/source/engine/sp_debug.cxx
+++ b/slideshow/source/engine/sp_debug.cxx
@@ -198,10 +198,6 @@ std::size_t find_unreachable_objects(bool report)
 namespace boost
 {
 
-void sp_scalar_constructor_hook(void *)
-{
-}
-
 void sp_scalar_constructor_hook(void * px, std::size_t size, void * pn)
 {
 #ifdef BOOST_HAS_THREADS
@@ -213,10 +209,6 @@ void sp_scalar_constructor_hook(void * px, std::size_t size, void * pn)
     get_map()[pn] = std::make_pair(px, size);
 }
 
-void sp_scalar_destructor_hook(void *)
-{
-}
-
 void sp_scalar_destructor_hook(void *, std::size_t, void * pn)
 {
 #ifdef BOOST_HAS_THREADS


More information about the Libreoffice-commits mailing list