summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-02-13 12:08:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-02-14 09:59:12 +0100
commit29e9fe918d10001ddd2c7ce68064397ada98f4f6 (patch)
treef14625e61c63ff483a5ffea2f2ef75507c4130df /include/vcl
parent3f893b52e726d96cb5dfebbc9afc88c28f0a8463 (diff)
move dialog.hxx to vcl/include/toolkit
Change-Id: Ia3877f58b6e5ccc4fb1621e6b928638e0c850e7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88602 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/toolkit/dialog.hxx (renamed from include/vcl/dialog.hxx)4
-rw-r--r--include/vcl/toolkit/tabdlg.hxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/dialog.hxx b/include/vcl/toolkit/dialog.hxx
index e4c9aecaf7d1..2b341e7f99f1 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/toolkit/dialog.hxx
@@ -20,6 +20,10 @@
#ifndef INCLUDED_VCL_DIALOG_HXX
#define INCLUDED_VCL_DIALOG_HXX
+#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_WORKBEN)
+#error "don't use this in new code"
+#endif
+
#include <memory>
#include <vcl/dllapi.h>
#include <vcl/syswin.hxx>
diff --git a/include/vcl/toolkit/tabdlg.hxx b/include/vcl/toolkit/tabdlg.hxx
index 30613c926617..fb6e5b9b418f 100644
--- a/include/vcl/toolkit/tabdlg.hxx
+++ b/include/vcl/toolkit/tabdlg.hxx
@@ -25,7 +25,7 @@
#endif
#include <vcl/dllapi.h>
-#include <vcl/dialog.hxx>
+#include <vcl/toolkit/dialog.hxx>
class FixedLine;