From 6bb901a1282373e747fcca5deaa9dbe92488812c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 25 Jul 2021 18:10:21 +0200 Subject: use officecfg for default options Change-Id: I5241c21fa097c104f1131db61787191d019a5de4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119485 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/options/optpath.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cui') 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(m_xPathBox->get_id(rEntry).toInt64()); - OUString aOldPath = pImpl->m_aDefOpt.GetDefaultPath( pPathImpl->nRealId ); + OUString aOldPath = SvtDefaultOptions::GetDefaultPath( pPathImpl->nRealId ); if ( !aOldPath.isEmpty() ) { -- cgit