[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Sep 26 15:31:06 UTC 2021
sw/source/filter/html/htmlform.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 619dcf67c1f770685c6b40477f15657f70c05865
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Sep 26 14:30:15 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Sep 26 17:30:32 2021 +0200
ofz#39303 don't Abrt on missing com.sun.star.form.component.Form
Change-Id: I82f6914f8dc46185c608fda6ede3074c4ee66b6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122630
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx
index 220302456d50..94af6b26f7a1 100644
--- a/sw/source/filter/html/htmlform.cxx
+++ b/sw/source/filter/html/htmlform.cxx
@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_features.h>
+#include <config_fuzzers.h>
+
#include <sal/config.h>
#include <string_view>
@@ -1295,6 +1298,7 @@ void SwHTMLParser::NewForm( bool bAppend )
}
}
+#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
const uno::Reference< XMultiServiceFactory > & rSrvcMgr =
m_pFormImpl->GetServiceFactory();
if( !rSrvcMgr.is() )
@@ -1363,6 +1367,7 @@ void SwHTMLParser::NewForm( bool bAppend )
if (bHasEvents)
NotifyMacroEventRead();
}
+#endif
}
void SwHTMLParser::EndForm( bool bAppend )
More information about the Libreoffice-commits
mailing list