summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-27 17:02:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-27 20:14:21 +0200
commit45649f44caf009941aadd6e37b3215e714a718da (patch)
tree3babf0ec66689880d22b28f5bd8f56b6c200df76 /include/vcl
parent0319ebeca61a8eb73c6bdacc25639658fe3b9fba (diff)
SvtIconChoiceCtrl can move into toolkit only headers
Change-Id: Ice3c01019d3e961c0ef1dce7d3eaf4f602269fff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101488 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/toolkit/ivctrl.hxx (renamed from include/vcl/ivctrl.hxx)9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/vcl/ivctrl.hxx b/include/vcl/toolkit/ivctrl.hxx
index 753b5ed4a6c2..d07b798881c7 100644
--- a/include/vcl/ivctrl.hxx
+++ b/include/vcl/toolkit/ivctrl.hxx
@@ -17,8 +17,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_IVCTRL_HXX
-#define INCLUDED_VCL_IVCTRL_HXX
+#pragma once
+
+#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
+#error "don't use this in new code"
+#endif
#include <memory>
#include <vcl/dllapi.h>
@@ -277,6 +280,4 @@ public:
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override;
};
-#endif // INCLUDED_VCL_IVCTRL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */