diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-26 10:10:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-26 15:12:40 +0200 |
commit | da9bba7cc3c243e936daea689fea64ecaf110f35 (patch) | |
tree | c47e5f87a123063729720693687b1d45738cd8b4 /sw/source/uibase/config | |
parent | 6e07c40577df013dc113310b7c2b76ee2b26e158 (diff) |
use officecfg for SvxHtmlOptions
Change-Id: Ie7db7d20509e45fd87d8460c7fae6c0131e0a1f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119494
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/config')
-rw-r--r-- | sw/source/uibase/config/viewopt.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx index f36530c355ad..66ea4daa05f4 100644 --- a/sw/source/uibase/config/viewopt.cxx +++ b/sw/source/uibase/config/viewopt.cxx @@ -357,8 +357,7 @@ sal_uInt16 GetHtmlMode(const SwDocShell* pShell) if(!pShell || dynamic_cast<const SwWebDocShell*>( pShell) ) { nRet = HTMLMODE_ON | HTMLMODE_SOME_STYLES; - SvxHtmlOptions& rHtmlOpt = SvxHtmlOptions::Get(); - switch ( rHtmlOpt.GetExportMode() ) + switch ( SvxHtmlOptions::GetExportMode() ) { case HTML_CFG_MSIE: nRet |= HTMLMODE_FULL_STYLES; |