summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/inc/BitmapSymmetryCheck.hxx5
-rw-r--r--vcl/inc/ControlCacheKey.hxx5
-rw-r--r--vcl/inc/DropdownBox.hxx5
-rw-r--r--vcl/inc/FileDefinitionWidgetDraw.hxx5
-rw-r--r--vcl/inc/IPrioritable.hxx5
-rw-r--r--vcl/inc/IconThemeScanner.hxx5
-rw-r--r--vcl/inc/IconThemeSelector.hxx5
-rw-r--r--vcl/inc/ResampleKernel.hxx5
-rw-r--r--vcl/inc/SalGradient.hxx5
9 files changed, 9 insertions, 36 deletions
diff --git a/vcl/inc/BitmapSymmetryCheck.hxx b/vcl/inc/BitmapSymmetryCheck.hxx
index 917b8b6d13a1..f23a7832d277 100644
--- a/vcl/inc/BitmapSymmetryCheck.hxx
+++ b/vcl/inc/BitmapSymmetryCheck.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_VCL_INC_BITMAPSYMMETRYCHECK_HXX
-#define INCLUDED_VCL_INC_BITMAPSYMMETRYCHECK_HXX
+#pragma once
#include <vcl/bitmap.hxx>
@@ -26,6 +25,4 @@ private:
static bool checkImpl(BitmapReadAccess const* pReadAccess);
};
-#endif // INCLUDED_VCL_INC_BITMAPSYMMETRYCHECK_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/ControlCacheKey.hxx b/vcl/inc/ControlCacheKey.hxx
index e422004ca58e..40155f80b61d 100644
--- a/vcl/inc/ControlCacheKey.hxx
+++ b/vcl/inc/ControlCacheKey.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_INC_CONTROLCACHEKEY_HXX
-#define INCLUDED_VCL_INC_CONTROLCACHEKEY_HXX
+#pragma once
#include <tools/gen.hxx>
#include <vcl/salnativewidgets.hxx>
@@ -90,5 +89,3 @@ struct ControlCacheHashFunction
return seed;
}
};
-
-#endif // INCLUDED_VCL_INC_CONTROLCACHEKEY_HXX
diff --git a/vcl/inc/DropdownBox.hxx b/vcl/inc/DropdownBox.hxx
index a6530babcaa1..0e3c3e315561 100644
--- a/vcl/inc/DropdownBox.hxx
+++ b/vcl/inc/DropdownBox.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SFX2_NOTEBOOKBAR_DROPDOWNBOX_HXX
-#define INCLUDED_SFX2_NOTEBOOKBAR_DROPDOWNBOX_HXX
+#pragma once
#include <vcl/layout.hxx>
#include "IPrioritable.hxx"
@@ -46,6 +45,4 @@ private:
DECL_LINK(PBClickHdl, Button*, void);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/FileDefinitionWidgetDraw.hxx b/vcl/inc/FileDefinitionWidgetDraw.hxx
index 881316c2f4a2..e7ada5fdfb86 100644
--- a/vcl/inc/FileDefinitionWidgetDraw.hxx
+++ b/vcl/inc/FileDefinitionWidgetDraw.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_VCL_INC_FILEDEFINITIONWIDGETDRAW_HXX
-#define INCLUDED_VCL_INC_FILEDEFINITIONWIDGETDRAW_HXX
+#pragma once
#include "widgetdraw/WidgetDefinition.hxx"
#include "salgdi.hxx"
@@ -77,6 +76,4 @@ public:
} // end vcl namespace
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/IPrioritable.hxx b/vcl/inc/IPrioritable.hxx
index 559fbc982f74..0b8dec9ec095 100644
--- a/vcl/inc/IPrioritable.hxx
+++ b/vcl/inc/IPrioritable.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_VCL_IPRIORITABLE_HXX
-#define INCLUDED_VCL_IPRIORITABLE_HXX
+#pragma once
#include <vcl/dllapi.h>
@@ -49,6 +48,4 @@ private:
} // namespace vcl
-#endif // INCLUDED_VCL_IPRIORITABLE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/vcl/inc/IconThemeScanner.hxx b/vcl/inc/IconThemeScanner.hxx
index 80f24054799f..e95adf417fdd 100644
--- a/vcl/inc/IconThemeScanner.hxx
+++ b/vcl/inc/IconThemeScanner.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_VCL_ICONTHEMESCANNER_HXX
-#define INCLUDED_VCL_ICONTHEMESCANNER_HXX
+#pragma once
#include <vcl/dllapi.h>
@@ -81,6 +80,4 @@ private:
} // end namespace vcl
-#endif // INCLUDED_VCL_ICONTHEMESCANNER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/IconThemeSelector.hxx b/vcl/inc/IconThemeSelector.hxx
index 65bfdf006364..dd1952a1518e 100644
--- a/vcl/inc/IconThemeSelector.hxx
+++ b/vcl/inc/IconThemeSelector.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_VCL_ICONTHEMESELECTOR_HXX
-#define INCLUDED_VCL_ICONTHEMESELECTOR_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -93,6 +92,4 @@ private:
} /* namespace vcl */
-#endif // INCLUDED_VCL_ICONTHEMESELECTOR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/ResampleKernel.hxx b/vcl/inc/ResampleKernel.hxx
index ca54213f5449..c891edbaa168 100644
--- a/vcl/inc/ResampleKernel.hxx
+++ b/vcl/inc/ResampleKernel.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_RESAMPLEKERNEL_HXX
-#define INCLUDED_VCL_RESAMPLEKERNEL_HXX
+#pragma once
#include <boost/math/special_functions/sinc.hpp>
@@ -111,6 +110,4 @@ private:
} // namespace vcl
-#endif // INCLUDED_VCL_RESAMPLEKERNEL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/SalGradient.hxx b/vcl/inc/SalGradient.hxx
index c183d755063d..22933b05e9c9 100644
--- a/vcl/inc/SalGradient.hxx
+++ b/vcl/inc/SalGradient.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_VCL_INC_SALGRADIENT_HXX
-#define INCLUDED_VCL_INC_SALGRADIENT_HXX
+#pragma once
#include <basegfx/point/b2dpoint.hxx>
#include <tools/color.hxx>
@@ -32,6 +31,4 @@ struct SalGradient
std::vector<SalGradientStop> maStops;
};
-#endif // INCLUDED_VCL_INC_SALGRADIENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */