summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-25 11:11:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-25 14:53:18 +0200
commit08eb6de1a274fce5d04c5fadcb4d87320414873c (patch)
tree7a7e0920de513801d50510e79c30b0afe81a980e /cui
parente6bbfd641c6c65ebdebae92f2382689d3ea4a089 (diff)
external qrcodegen looks under qrcodegen
Change-Id: I01f06c30a52f5e4cdb5b4b6304072aa0f3a63aa8 Reviewed-on: https://gerrit.libreoffice.org/76291 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/QrCodeGenDialog.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx
index 628ada1df38b..14c9b18e9ab9 100644
--- a/cui/source/dialogs/QrCodeGenDialog.cxx
+++ b/cui/source/dialogs/QrCodeGenDialog.cxx
@@ -16,7 +16,11 @@
#include <utility>
#include <vcl/weld.hxx>
+#if defined(SYSTEM_QRCODEGEN)
+#include <qrcodegen/QrCode.hpp>
+#else
#include <QrCode.hpp>
+#endif
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>