diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:31:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:36:03 +0100 |
commit | 6e26cc140bf0254a88a1d4c6e82cbaee39ced418 (patch) | |
tree | 4c9a62c32f7b9df3618ab502a08d1a0829d81c03 /svx/source/form/fmcontrollayout.cxx | |
parent | f862290c91e66b859504e6c271309f73fa762a0d (diff) |
loplugin:deletedspecial
Change-Id: I1ffc6af694367f0ff70b7598c093203f1f68882c
Diffstat (limited to 'svx/source/form/fmcontrollayout.cxx')
-rw-r--r-- | svx/source/form/fmcontrollayout.cxx | 19 |
1 files changed, 8 insertions, 11 deletions
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 ); |