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

Stephan Bergmann sbergman at redhat.com
Sun Feb 1 13:06:59 PST 2015


 reportdesign/source/core/api/Section.cxx |   15 ---------------
 1 file changed, 15 deletions(-)

New commits:
commit c97dbb56596eecd19d73a0adb49f9de1ee279e14
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Feb 1 22:06:32 2015 +0100

    loplugin:unreffun
    
    Change-Id: I32479fd238e720b9ba0fa0af55e8377ebd972a20

diff --git a/reportdesign/source/core/api/Section.cxx b/reportdesign/source/core/api/Section.cxx
index d25f0e2d..cec1429 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)
 {


More information about the Libreoffice-commits mailing list