diff options
author | Gabor Kelemen <gabor.kelemen.extern@allotropia.de> | 2023-11-01 22:25:14 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-02 09:37:08 +0100 |
commit | 08d74d8980d19c7f524c8f60de5c033d026d1c94 (patch) | |
tree | 30452e181aca823e681570402e6164062ca84670 /sw/source/ui/fmtui/tmpdlg.cxx | |
parent | c1f95f01e0239a16a3b904864a2b5310016b93a7 (diff) |
Drop SvxHtmlOptions::IsPrintLayoutExtension
as it is just now a simple wrapper over officecfg
Change-Id: If41c7c9db191af7ebede9072fd995d015056bf1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158779
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/fmtui/tmpdlg.cxx')
-rw-r--r-- | sw/source/ui/fmtui/tmpdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index 497a8d40e10a..0a5d6686dadd 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -25,7 +25,6 @@ #include <osl/diagnose.h> #include <sfx2/htmlmode.hxx> #include <sfx2/sfxdlg.hxx> -#include <svtools/htmlcfg.hxx> #include <svl/cjkoptions.hxx> #include <vcl/svapp.hxx> #include <numpara.hxx> @@ -58,6 +57,7 @@ #include <svl/intitem.hxx> #include <svx/dialogs.hrc> #include <svx/flagsdef.hxx> +#include <officecfg/Office/Common.hxx> // the dialog's carrier SwTemplateDlgController::SwTemplateDlgController(weld::Window* pParent, @@ -146,7 +146,7 @@ SwTemplateDlgController::SwTemplateDlgController(weld::Window* pParent, if(m_nHtmlMode & HTMLMODE_ON) { - if (!SvxHtmlOptions::IsPrintLayoutExtension()) + if (!officecfg::Office::Common::Filter::HTML::Export::PrintLayout::get()) RemoveTabPage("textflow"); RemoveTabPage("asiantypo"); RemoveTabPage("tabs"); |