diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-05-15 19:03:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-16 08:47:32 +0200 |
commit | f3cced4ab2c3ddb7a83fd697334df490b11a9c8f (patch) | |
tree | e18aecd9aa4323216b475efac74531d29a16b601 /xmlhelp/source/cxxhelp/inc | |
parent | 8cda679913bac83324c222c31c417f2ee7e2924b (diff) |
use more officecfg in xmlhelp::TVChildTarget
Change-Id: I3d5762e275317937c4ce3aafaf9e3a359efc2907
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167703
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'xmlhelp/source/cxxhelp/inc')
-rw-r--r-- | xmlhelp/source/cxxhelp/inc/tvread.hxx | 22 |
1 files changed, 2 insertions, 20 deletions
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 ); |