cui/source/dialogs/QrCodeGenDialog.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit bb4015fe845869ae6c70947ac0d52f0ce8043d1b Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Aug 6 11:28:21 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Aug 6 13:24:24 2019 +0200 ofz#16191 fix build failure Change-Id: Iaa4e14e102374951ba8ab99507367556ff5920fd Reviewed-on: https://gerrit.libreoffice.org/77017 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx index ab94debfcf8a..539a5fbb3c28 100644 --- a/cui/source/dialogs/QrCodeGenDialog.cxx +++ b/cui/source/dialogs/QrCodeGenDialog.cxx @@ -40,6 +40,7 @@ #include <com/sun/star/text/XTextDocument.hpp> #include <com/sun/star/text/XTextViewCursor.hpp> #include <com/sun/star/text/XTextViewCursorSupplier.hpp> +#include <config_fuzzers.h> using namespace css; using namespace css::uno; @@ -218,6 +219,9 @@ void QrCodeGenDialog::SelectErrorCorrection(weld::ToggleButton& rButton) OUString QrCodeGenDialog::GenerateQrCode(OUString aQrText, int aQrECC, int aQrBorder) { +#if ENABLE_FUZZERS + return OUString(); +#else //Select ECC:: value from aQrECC qrcodegen::QrCode::Ecc bqrEcc = qrcodegen::QrCode::Ecc::LOW; @@ -255,6 +259,7 @@ OUString QrCodeGenDialog::GenerateQrCode(OUString aQrText, int aQrECC, int aQrBo //cstring to OUString char* cstr = &svg[0]; return OUString::createFromAscii(cstr); +#endif } void QrCodeGenDialog::GetErrorCorrection(long ErrorCorrection) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits