From 6e26cc140bf0254a88a1d4c6e82cbaee39ced418 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 7 Feb 2015 12:31:07 +0100 Subject: loplugin:deletedspecial Change-Id: I1ffc6af694367f0ff70b7598c093203f1f68882c --- svx/source/form/fmcontrollayout.cxx | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'svx/source/form/fmcontrollayout.cxx') diff --git a/svx/source/form/fmcontrollayout.cxx b/svx/source/form/fmcontrollayout.cxx index dc76c80e8d57..9bcafa7ffba3 100644 --- a/svx/source/form/fmcontrollayout.cxx +++ b/svx/source/form/fmcontrollayout.cxx @@ -73,6 +73,14 @@ namespace svxform namespace { + ::utl::OConfigurationNode getLayoutSettings( DocumentType _eDocType ) + { + OUString sConfigName = "/org.openoffice.Office.Common/Forms/ControlLayout/"; + sConfigName += DocumentClassification::getModuleIdentifierForDocumentType( _eDocType ); + return OConfigurationTreeRoot::createWithComponentContext( + ::comphelper::getProcessComponentContext(), // TODO + sConfigName ); + } template< class INTERFACE_TYPE > Reference< INTERFACE_TYPE > getTypedModelNode( const Reference< XInterface >& _rxModelNode ) @@ -279,17 +287,6 @@ namespace svxform } } - - ::utl::OConfigurationNode ControlLayouter::getLayoutSettings( DocumentType _eDocType ) - { - OUString sConfigName = "/org.openoffice.Office.Common/Forms/ControlLayout/"; - sConfigName += DocumentClassification::getModuleIdentifierForDocumentType( _eDocType ); - return OConfigurationTreeRoot::createWithComponentContext( - ::comphelper::getProcessComponentContext(), // TODO - sConfigName ); - } - - bool ControlLayouter::useDynamicBorderColor( DocumentType _eDocType ) { OConfigurationNode aConfig = getLayoutSettings( _eDocType ); -- cgit