summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-02 09:41:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-03 15:54:56 +0100
commitf645d4c35eebb5674a7e698c1db425afcf0784a5 (patch)
treef81443cc23c1ac609aaad0a0366bdb348b4c0043 /include
parent93a8247598bae20a2d9b3eb9abc2578fd2e4a712 (diff)
vcl/floatwin.hxx can be toolkit only now
Change-Id: Ifd8f58771ea6f9212a0dca7d4550c86ebecd9333 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111814 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/toolkit/floatwin.hxx (renamed from include/vcl/floatwin.hxx)9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/vcl/floatwin.hxx b/include/vcl/toolkit/floatwin.hxx
index ad87e036b0c4..bbfddabcce68 100644
--- a/include/vcl/floatwin.hxx
+++ b/include/vcl/toolkit/floatwin.hxx
@@ -17,8 +17,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_FLOATWIN_HXX
-#define INCLUDED_VCL_FLOATWIN_HXX
+#pragma once
+
+#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
+#error "don't use this in new code"
+#endif
#include <vcl/dllapi.h>
#include <vcl/syswin.hxx>
@@ -136,6 +139,4 @@ public:
static Point CalcFloatingPosition( vcl::Window* pWindow, const tools::Rectangle& rRect, FloatWinPopupFlags nFlags, sal_uInt16& rArrangeIndex );
};
-#endif // INCLUDED_VCL_FLOATWIN_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */