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/chrdlg/pardlg.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/chrdlg/pardlg.cxx')
-rw-r--r-- | sw/source/ui/chrdlg/pardlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx index f28acc46bc87..379ee335cad8 100644 --- a/sw/source/ui/chrdlg/pardlg.cxx +++ b/sw/source/ui/chrdlg/pardlg.cxx @@ -20,7 +20,6 @@ #include <sfx2/htmlmode.hxx> #include <sfx2/tabdlg.hxx> #include <svl/style.hxx> -#include <svtools/htmlcfg.hxx> #include <svl/cjkoptions.hxx> #include <docsh.hxx> #include <wrtsh.hxx> @@ -38,6 +37,7 @@ #include <svx/dialogs.hrc> #include <svx/flagsdef.hxx> #include <osl/diagnose.h> +#include <officecfg/Office/Common.hxx> SwParaDlg::SwParaDlg(weld::Window *pParent, SwView& rVw, @@ -73,7 +73,7 @@ SwParaDlg::SwParaDlg(weld::Window *pParent, AddTabPage("labelTP_PARA_ALIGN", pFact->GetTabPageCreatorFunc(RID_SVXPAGE_ALIGN_PARAGRAPH), pFact->GetTabPageRangesFunc(RID_SVXPAGE_ALIGN_PARAGRAPH)); - if (!m_bDrawParaDlg && (!bHtmlMode || SvxHtmlOptions::IsPrintLayoutExtension())) + if (!m_bDrawParaDlg && (!bHtmlMode || officecfg::Office::Common::Filter::HTML::Export::PrintLayout::get())) { OSL_ENSURE(pFact->GetTabPageCreatorFunc(RID_SVXPAGE_EXT_PARAGRAPH), "GetTabPageCreatorFunc fail!"); OSL_ENSURE(pFact->GetTabPageRangesFunc(RID_SVXPAGE_EXT_PARAGRAPH), "GetTabPageRangesFunc fail!"); |