summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-05 17:52:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-06 14:53:44 +0200
commitba556833e19b401496b5bf7304de574c64780f81 (patch)
treed8c3eb1108a18335a2e806b0ba7ac981ed851dd4 /include
parentd5b3c5d5093c56e748610a3972fc90b1521ae9e3 (diff)
exile fmtfield.hxx to toolkit headers
Change-Id: I4d16dd079d4f8900d5e04677742679d6592f7066 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98165 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/toolkit/fmtfield.hxx (renamed from include/vcl/fmtfield.hxx)9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/vcl/fmtfield.hxx b/include/vcl/toolkit/fmtfield.hxx
index c1b8adc73c80..8960d09406ea 100644
--- a/include/vcl/fmtfield.hxx
+++ b/include/vcl/toolkit/fmtfield.hxx
@@ -17,8 +17,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_FMTFIELD_HXX
-#define INCLUDED_VCL_FMTFIELD_HXX
+#pragma once
+
+#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS)
+#error "don't use this in new code"
+#endif
#include <vcl/formatter.hxx>
#include <vcl/spinfld.hxx>
@@ -91,6 +94,4 @@ private:
bool m_bPrependCurrSym;
};
-#endif // INCLUDED_VCL_FMTFIELD_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */