diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-08-06 11:28:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-08-06 13:24:24 +0200 |
commit | bb4015fe845869ae6c70947ac0d52f0ce8043d1b (patch) | |
tree | a9d68138b7d3e84639d2a40cbde5f00f49c7c730 /cui/source | |
parent | 80089fb50eb73d32ddb035370b9389a3e270b5ed (diff) |
ofz#16191 fix build failure
Change-Id: Iaa4e14e102374951ba8ab99507367556ff5920fd
Reviewed-on: https://gerrit.libreoffice.org/77017
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/dialogs/QrCodeGenDialog.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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) |