diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-01-31 15:45:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-01-31 20:32:44 +0100 |
commit | 8d9fba2ece350f82f307493b184447dbb44a971d (patch) | |
tree | 7ffa15382895c79892abe754b9b77736fd7e088c | |
parent | 4c288ac1f2b9ad17fff0241cb64ddd3b61a85e89 (diff) |
tdf#159350 Hiding Options dialog tabpages stopped working
regression from
commit 3ed7511eca99819012fc1baa490ef85963a9472e
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Mon Jul 26 15:21:35 2021 +0200
simplify SvtOptionsDialogOptions
Change-Id: If300aefd3b249e64c15bc664ed16c00e743c2b80
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162836
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | unotools/source/config/optionsdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/optionsdlg.cxx b/unotools/source/config/optionsdlg.cxx index 35e964afbf08..c8f4c892ed7c 100644 --- a/unotools/source/config/optionsdlg.cxx +++ b/unotools/source/config/optionsdlg.cxx @@ -44,7 +44,7 @@ static void ReadNode( SvtOptionsDialogOptions::SvtOptionsDialogOptions() { Reference<css::container::XHierarchicalNameAccess> xHierarchyAccess = utl::ConfigManager::acquireTree(u"Office.OptionsDialog"); - const Sequence< OUString > aNodeSeq = utl::ConfigItem::GetNodeNames( xHierarchyAccess, ROOT_NODE, utl::ConfigNameFormat::LocalPath); + const Sequence< OUString > aNodeSeq = utl::ConfigItem::GetNodeNames( xHierarchyAccess, ROOT_NODE, utl::ConfigNameFormat::LocalNode); OUString sNode( ROOT_NODE + g_sPathDelimiter ); for ( const auto& rNode : aNodeSeq ) { @@ -94,7 +94,7 @@ static void ReadNode( if ( _eType != NT_Option ) { OUString sNodes( sNode + sSet ); - const Sequence< OUString > aNodes = utl::ConfigItem::GetNodeNames( xHierarchyAccess, sNodes, utl::ConfigNameFormat::LocalPath ); + const Sequence< OUString > aNodes = utl::ConfigItem::GetNodeNames( xHierarchyAccess, sNodes, utl::ConfigNameFormat::LocalNode ); for ( const auto& rNode : aNodes ) { OUString sSubNodeName( sNodes + g_sPathDelimiter + rNode ); |