solenv/bin/native-code.py | 1 + sw/source/uibase/app/swmodule.cxx | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit 983ff9a1133045d14daabb505c5405ab7ad3a95b Author: Caolán McNamara <[email protected]> AuthorDate: Mon Mar 9 15:44:28 2026 +0000 Commit: Miklos Vajna <[email protected]> CommitDate: Tue Mar 10 07:54:36 2026 +0100 add in the WebDocument to allow html to be converted Change-Id: I68c3f6387bc9119e811645fb349ba2cc6b46d05b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201288 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Miklos Vajna <[email protected]> diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py index 7e16fe3201f5..b6794d3578da 100755 --- a/solenv/bin/native-code.py +++ b/solenv/bin/native-code.py @@ -728,6 +728,7 @@ writer_constructor_list = [ "com_sun_star_comp_filters_PlainTextFilterDetect_get_implementation", # sw/util/sw.component "Writer_SwTextDocument_get_implementation", + "com_sun_star_comp_Writer_WebDocument_get_implementation", "com_sun_star_comp_Writer_XMLOasisContentImporter_get_implementation", "com_sun_star_comp_Writer_XMLOasisImporter_get_implementation", "com_sun_star_comp_Writer_XMLOasisMetaImporter_get_implementation", diff --git a/sw/source/uibase/app/swmodule.cxx b/sw/source/uibase/app/swmodule.cxx index c7b8029abb48..67e22203f369 100644 --- a/sw/source/uibase/app/swmodule.cxx +++ b/sw/source/uibase/app/swmodule.cxx @@ -217,11 +217,12 @@ void SwDLL::RegisterFactories() // is created by Sfx. SvtModuleOptions aOptions; if (comphelper::IsFuzzing() || aOptions.IsWriterInstalled()) + { SwView::RegisterFactory ( SFX_INTERFACE_SFXDOCSH ); + SwWebView::RegisterFactory ( SFX_INTERFACE_SFXMODULE ); + } #if HAVE_FEATURE_DESKTOP - SwWebView::RegisterFactory ( SFX_INTERFACE_SFXMODULE ); - if (comphelper::IsFuzzing() || aOptions.IsWriterInstalled()) { SwSrcView::RegisterFactory ( SfxInterfaceId(6) );
