From 51b5b93092d6231615de470c62494c24e54828a1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 25 Jan 2020 17:49:47 +0200 Subject: remove some unused local vars found by a more aggressive variant of loplugin:unusedvariables. This is my first pass, committing the simplest and most obviously unnecessary vars Change-Id: I9676a6e39a101937097788548764506c93811c57 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87414 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/animations/SlideTransitionPane.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'sd/source/ui/animations') diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx index 7200cbe503f4..a389e08763f1 100644 --- a/sd/source/ui/animations/SlideTransitionPane.cxx +++ b/sd/source/ui/animations/SlideTransitionPane.cxx @@ -345,7 +345,6 @@ size_t getPresetOffset( const sd::impl::TransitionEffect &rEffect ) { const sd::TransitionPresetList& rPresetList = sd::TransitionPreset::getTransitionPresetList(); - sd::TransitionPresetPtr pFound; size_t nIdx = 0; for( const auto& aIt: rPresetList ) -- cgit