From f3cced4ab2c3ddb7a83fd697334df490b11a9c8f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 15 May 2024 19:03:32 +0200 Subject: use more officecfg in xmlhelp::TVChildTarget Change-Id: I3d5762e275317937c4ce3aafaf9e3a359efc2907 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167703 Reviewed-by: Noel Grandin Tested-by: Jenkins --- xmlhelp/source/cxxhelp/inc/tvread.hxx | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'xmlhelp/source/cxxhelp/inc') diff --git a/xmlhelp/source/cxxhelp/inc/tvread.hxx b/xmlhelp/source/cxxhelp/inc/tvread.hxx index 08bfdb6482da..dea63c0814eb 100644 --- a/xmlhelp/source/cxxhelp/inc/tvread.hxx +++ b/xmlhelp/source/cxxhelp/inc/tvread.hxx @@ -178,7 +178,7 @@ namespace treeview { TVChildTarget( const ConfigData& configData,TVDom* tvDom ); - TVChildTarget( const css::uno::Reference< css::uno::XComponentContext >& xContext ); + TVChildTarget(); virtual ~TVChildTarget() override; @@ -202,25 +202,7 @@ namespace treeview { private: std::vector< rtl::Reference< TVRead > > Elements; - static ConfigData init( - const css::uno::Reference< css::uno::XComponentContext >& xContext ); - - static css::uno::Reference< css::lang::XMultiServiceFactory > - getConfiguration( - const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - - static css::uno::Reference< css::container::XHierarchicalNameAccess > - getHierAccess( const css::uno::Reference< css::lang::XMultiServiceFactory >& rxProvider, - const char* file ); - - static OUString - getKey( const css::uno::Reference< css::container::XHierarchicalNameAccess >& xHierAccess, - const char* key ); - - static bool - getBooleanKey( - const css::uno::Reference< css::container::XHierarchicalNameAccess >& xHierAccess, - const char* key); + static ConfigData init(); static void subst( OUString& instpath ); -- cgit