diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-07-25 18:10:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-26 10:58:14 +0200 |
commit | 6bb901a1282373e747fcca5deaa9dbe92488812c (patch) | |
tree | c9a048e8ee7482096004be3d36b3598f7c481f86 /cui | |
parent | 5e93753ca60ac52f94f9adee5c6b55a2e9387750 (diff) |
use officecfg for default options
Change-Id: I5241c21fa097c104f1131db61787191d019a5de4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119485
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optpath.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx index 6e2cc6e48d61..1670dfb91d82 100644 --- a/cui/source/options/optpath.cxx +++ b/cui/source/options/optpath.cxx @@ -62,7 +62,6 @@ using namespace svx; struct OptPath_Impl { - SvtDefaultOptions m_aDefOpt; OUString m_sMultiPathDlg; Reference< css::util::XPathSettings > m_xPathSettings; @@ -351,7 +350,7 @@ IMPL_LINK_NOARG(SvxPathTabPage, StandardHdl_Impl, weld::Button&, void) { m_xPathBox->selected_foreach([this](weld::TreeIter& rEntry){ PathUserData_Impl* pPathImpl = reinterpret_cast<PathUserData_Impl*>(m_xPathBox->get_id(rEntry).toInt64()); - OUString aOldPath = pImpl->m_aDefOpt.GetDefaultPath( pPathImpl->nRealId ); + OUString aOldPath = SvtDefaultOptions::GetDefaultPath( pPathImpl->nRealId ); if ( !aOldPath.isEmpty() ) { |