From c97dbb56596eecd19d73a0adb49f9de1ee279e14 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 1 Feb 2015 22:06:32 +0100 Subject: loplugin:unreffun Change-Id: I32479fd238e720b9ba0fa0af55e8377ebd972a20 --- reportdesign/source/core/api/Section.cxx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/reportdesign/source/core/api/Section.cxx b/reportdesign/source/core/api/Section.cxx index d25f0e2d5ae1..cec14294f786 100644 --- a/reportdesign/source/core/api/Section.cxx +++ b/reportdesign/source/core/api/Section.cxx @@ -422,21 +422,6 @@ uno::Reference< report::XReportDefinition > SAL_CALL OSection::getReportDefiniti return xRet; } -const ::std::vector< OUString >& lcl_getControlModelMap() -{ - static ::std::vector< OUString > s_sControlModels; - if ( s_sControlModels.empty() ) - { - s_sControlModels.push_back( OUString("FixedText") ); - s_sControlModels.push_back( OUString("FixedLine") ); - s_sControlModels.push_back( OUString("ImageControl") ); - s_sControlModels.push_back( OUString("FormattedField") ); - s_sControlModels.push_back( OUString("Shape") ); - } - return s_sControlModels; - -} - // XChild uno::Reference< uno::XInterface > SAL_CALL OSection::getParent( ) throw (uno::RuntimeException, std::exception) { -- cgit