From 5f2bc59ee9acfb24fc8e5bcc05012f130a360a82 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 20 Mar 2024 22:01:44 +0100 Subject: [PATCH] Drop remaining boost/shared_pointer debug functionality ...most of which had already been removed with 4e354737908b89713297ebf5216eb44f3d9ae990 "remove boost/shared_ptr foo". 4c657f5a1a340ec9afe795d911625991f6a9cf7a "Properly #if these debug hooks" had noted that slideshow/source/engine/smilfunctionparser.cxx "still indirectly includes boost/scoped_ptr.hpp via. boost/spirit", but lets assume that nobody actually relied on this functionality (and however it would actually work in practice). Change-Id: Ib8ccfcd8019d7b03b138aee1ac026a2f7bd5d402 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165082 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- slideshow/Library_OGLTrans.mk | 6 ------ slideshow/Library_slideshow.mk | 6 ------ .../source/engine/smilfunctionparser.cxx | 19 ------------------- 3 files changed, 31 deletions(-) diff --git a/slideshow/Library_OGLTrans.mk b/slideshow/Library_OGLTrans.mk index 85051483df66..4887e3dfb78c 100644 --- a/slideshow/Library_OGLTrans.mk +++ b/slideshow/Library_OGLTrans.mk @@ -9,12 +9,6 @@ $(eval $(call gb_Library_Library,OGLTrans)) -ifneq ($(strip $(debug)$(DEBUG)),) -$(eval $(call gb_Library_add_defs,OGLTrans,\ - -DBOOST_SP_ENABLE_DEBUG_HOOKS \ -)) -endif - $(eval $(call gb_Library_add_defs,OGLTrans,\ -DGLM_FORCE_RADIANS \ )) diff --git a/slideshow/Library_slideshow.mk b/slideshow/Library_slideshow.mk index 3b9f3fb3f095..3bea78134569 100644 --- a/slideshow/Library_slideshow.mk +++ b/slideshow/Library_slideshow.mk @@ -14,12 +14,6 @@ $(eval $(call gb_Library_set_include,slideshow,\ -I$(SRCDIR)/slideshow/source/inc \ )) -ifneq ($(strip $(debug)$(DEBUG)),) -$(eval $(call gb_Library_add_defs,slideshow,\ - -DBOOST_SP_ENABLE_DEBUG_HOOKS \ -)) -endif - $(eval $(call gb_Library_set_precompiled_header,slideshow,slideshow/inc/pch/precompiled_slideshow)) $(eval $(call gb_Library_use_externals,slideshow,\ diff --git a/slideshow/source/engine/smilfunctionparser.cxx b/slideshow/source/engine/smilfunctionparser.cxx index 1859b7e1688b..6482be4a2316 100644 --- a/slideshow/source/engine/smilfunctionparser.cxx +++ b/slideshow/source/engine/smilfunctionparser.cxx @@ -607,23 +607,4 @@ namespace slideshow::internal } } -#if defined(BOOST_SP_ENABLE_DEBUG_HOOKS) - -// debug hooks - -namespace boost -{ - -void sp_scalar_constructor_hook(void *) -{ -} - -void sp_scalar_destructor_hook(void *) -{ -} - -} - -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */