diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | cui/source/dialogs/QrCodeGenDialog.cxx | 4 | ||||
-rw-r--r-- | cui/source/inc/QrCodeGenDialog.hxx | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 8926a1e7b980..11f1bc87e4ae 100644 --- a/configure.ac +++ b/configure.ac @@ -10538,7 +10538,7 @@ dnl =================================================================== dnl Check for system qrcodegen dnl =================================================================== AC_MSG_CHECKING([whether to use libqrcodegen]) -if test "$enable_libqrcodegen" = "no"; then +if test "$enable_qrcodegen" = "no"; then AC_MSG_RESULT([no]) ENABLE_QRCODEGEN= SYSTEM_QRCODEGEN= diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx index bc56c2ddf4e1..7f3f6a806cf5 100644 --- a/cui/source/dialogs/QrCodeGenDialog.cxx +++ b/cui/source/dialogs/QrCodeGenDialog.cxx @@ -17,8 +17,6 @@ #include <utility> #include <vcl/svapp.hxx> -#include <config_qrcodegen.h> - #if ENABLE_QRCODEGEN #if defined(SYSTEM_QRCODEGEN) #include <qrcodegen/QrCode.hpp> @@ -74,7 +72,9 @@ QrCodeGenDialog::QrCodeGenDialog(weld::Widget* pParent, Reference<XModel> xModel m_xBuilder->weld_radio_button("button_quartile"), m_xBuilder->weld_radio_button("button_high") } , m_xSpinBorder(m_xBuilder->weld_spin_button("edit_border")) +#if ENABLE_QRCODEGEN , mpParent(pParent) +#endif { if (!bEditExisting) { diff --git a/cui/source/inc/QrCodeGenDialog.hxx b/cui/source/inc/QrCodeGenDialog.hxx index af4a3a86a87e..c0f338f91812 100644 --- a/cui/source/inc/QrCodeGenDialog.hxx +++ b/cui/source/inc/QrCodeGenDialog.hxx @@ -8,6 +8,8 @@ */ #pragma once +#include <config_qrcodegen.h> + #include <vcl/weld.hxx> #include <com/sun/star/frame/XModel.hpp> @@ -31,7 +33,9 @@ private: std::unique_ptr<weld::Entry> m_xEdittext; std::unique_ptr<weld::RadioButton> m_xECC[4]; std::unique_ptr<weld::SpinButton> m_xSpinBorder; +#if ENABLE_QRCODEGEN weld::Widget* mpParent; +#endif css::uno::Reference<css::beans::XPropertySet> m_xExistingShapeProperties; |