summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-10 21:11:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-12 20:22:57 +0200
commit4ddafa14d70567a4e4581310a7cc83eafc1b776f (patch)
tree122e36715b0335cf25dcae6554d17407b2402e21 /include
parent7b314c6aceb51d01b9b4314764b0f5852b4fb655 (diff)
svlbitm.hxx can be toolkit only now
Change-Id: Ie5ad0febca0747fa66c2caede619d14e468da032 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100498 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/toolkit/svlbitm.hxx (renamed from include/vcl/svlbitm.hxx)8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/svlbitm.hxx b/include/vcl/toolkit/svlbitm.hxx
index abe2446ade11..e4e6fbc57a7d 100644
--- a/include/vcl/svlbitm.hxx
+++ b/include/vcl/toolkit/svlbitm.hxx
@@ -17,9 +17,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#pragma once
-#ifndef INCLUDED_VCL_SVLBITM_HXX
-#define INCLUDED_VCL_SVLBITM_HXX
+#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>
@@ -283,6 +285,4 @@ inline const Image& SvLBoxContextBmp::GetBitmap2() const
return rImage;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */