summaryrefslogtreecommitdiff
path: root/forms/source/component
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component')
-rw-r--r--forms/source/component/BaseListBox.hxx5
-rw-r--r--forms/source/component/ComboBox.hxx5
-rw-r--r--forms/source/component/File.hxx5
-rw-r--r--forms/source/component/Filter.hxx5
-rw-r--r--forms/source/component/FixedText.hxx5
-rw-r--r--forms/source/component/FormattedField.hxx4
-rw-r--r--forms/source/component/FormattedFieldWrapper.hxx5
-rw-r--r--forms/source/component/FormsCollection.hxx5
-rw-r--r--forms/source/component/Grid.hxx5
-rw-r--r--forms/source/component/GroupBox.hxx5
-rw-r--r--forms/source/component/GroupManager.hxx5
-rw-r--r--forms/source/component/Hidden.hxx5
-rw-r--r--forms/source/component/ImageButton.hxx5
-rw-r--r--forms/source/component/ImageControl.hxx5
-rw-r--r--forms/source/component/ListBox.hxx5
-rw-r--r--forms/source/component/Numeric.hxx5
-rw-r--r--forms/source/component/Pattern.hxx5
-rw-r--r--forms/source/component/RadioButton.hxx5
-rw-r--r--forms/source/component/Time.hxx5
-rw-r--r--forms/source/component/findpos.hxx5
-rw-r--r--forms/source/component/imgprod.hxx5
-rw-r--r--forms/source/component/navigationbar.hxx5
-rw-r--r--forms/source/component/refvaluecomponent.hxx5
-rw-r--r--forms/source/component/scrollbar.hxx5
-rw-r--r--forms/source/component/spinbutton.hxx5
25 files changed, 25 insertions, 99 deletions
diff --git a/forms/source/component/BaseListBox.hxx b/forms/source/component/BaseListBox.hxx
index 1e3ee87a1136..fe0930ea70d1 100644
--- a/forms/source/component/BaseListBox.hxx
+++ b/forms/source/component/BaseListBox.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_BASELISTBOX_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_BASELISTBOX_HXX
+#pragma once
#include <sal/types.h>
@@ -28,6 +27,4 @@ const sal_uInt16 ENTRY_NOT_FOUND = 0xFFFF;
const sal_uInt16 BOUNDCOLUMN = 0x0001;
}
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_BASELISTBOX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx
index 3fc0240d9483..7b88717cc5c3 100644
--- a/forms/source/component/ComboBox.hxx
+++ b/forms/source/component/ComboBox.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX
+#pragma once
#include <memory>
#include <FormComponent.hxx>
@@ -136,6 +135,4 @@ public:
}
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/File.hxx b/forms/source/component/File.hxx
index 651d830ace92..a2bf28d6214c 100644
--- a/forms/source/component/File.hxx
+++ b/forms/source/component/File.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX
+#pragma once
#include <FormComponent.hxx>
@@ -86,6 +85,4 @@ protected:
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FILE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/Filter.hxx b/forms/source/component/Filter.hxx
index ed05f01f27e4..8561d2f5d5af 100644
--- a/forms/source/component/Filter.hxx
+++ b/forms/source/component/Filter.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FILTER_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_FILTER_HXX
+#pragma once
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -136,6 +135,4 @@ namespace frm
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FILTER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/FixedText.hxx b/forms/source/component/FixedText.hxx
index 58c2a8a07092..a6d6f0b2d5c1 100644
--- a/forms/source/component/FixedText.hxx
+++ b/forms/source/component/FixedText.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FIXEDTEXT_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_FIXEDTEXT_HXX
+#pragma once
#include <FormComponent.hxx>
@@ -58,6 +57,4 @@ protected:
}
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FIXEDTEXT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/FormattedField.hxx b/forms/source/component/FormattedField.hxx
index 1d35060e0588..e1520cd6ee47 100644
--- a/forms/source/component/FormattedField.hxx
+++ b/forms/source/component/FormattedField.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELD_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELD_HXX
+#pragma once
#include "EditBase.hxx"
#include <tools/link.hxx>
@@ -172,6 +171,5 @@ class OFormattedModel final
DECL_LINK( OnKeyPressed, void*, void );
};
}
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELD_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/FormattedFieldWrapper.hxx b/forms/source/component/FormattedFieldWrapper.hxx
index 1ef0d2d0f761..b34db4148531 100644
--- a/forms/source/component/FormattedFieldWrapper.hxx
+++ b/forms/source/component/FormattedFieldWrapper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELDWRAPPER_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELDWRAPPER_HXX
+#pragma once
#include <comphelper/uno3.hxx>
#include <cppuhelper/implbase3.hxx>
@@ -85,6 +84,4 @@ private:
}
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FORMATTEDFIELDWRAPPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/FormsCollection.hxx b/forms/source/component/FormsCollection.hxx
index 994eda6469f6..6a97148af0ba 100644
--- a/forms/source/component/FormsCollection.hxx
+++ b/forms/source/component/FormsCollection.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FORMSCOLLECTION_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_FORMSCOLLECTION_HXX
+#pragma once
#include <InterfaceContainer.hxx>
#include <cppuhelper/component.hxx>
@@ -147,6 +146,4 @@ public:
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_FORMSCOLLECTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/Grid.hxx b/forms/source/component/Grid.hxx
index 1f57b32fef69..523a8132db68 100644
--- a/forms/source/component/Grid.hxx
+++ b/forms/source/component/Grid.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX
+#pragma once
#include "errorbroadcaster.hxx"
#include <FormComponent.hxx>
@@ -190,6 +189,4 @@ private:
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_GRID_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/GroupBox.hxx b/forms/source/component/GroupBox.hxx
index f761b77ab7bc..00f4523aad07 100644
--- a/forms/source/component/GroupBox.hxx
+++ b/forms/source/component/GroupBox.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_GROUPBOX_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_GROUPBOX_HXX
+#pragma once
#include <FormComponent.hxx>
@@ -73,6 +72,4 @@ public:
}
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_GROUPBOX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/GroupManager.hxx b/forms/source/component/GroupManager.hxx
index d3734b751d28..9365d1b44ea8 100644
--- a/forms/source/component/GroupManager.hxx
+++ b/forms/source/component/GroupManager.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_GROUPMANAGER_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_GROUPMANAGER_HXX
+#pragma once
#include <com/sun/star/awt/XControlModel.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -192,6 +191,4 @@ public:
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_GROUPMANAGER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/Hidden.hxx b/forms/source/component/Hidden.hxx
index 7ff7d860f917..9ed34f3e406f 100644
--- a/forms/source/component/Hidden.hxx
+++ b/forms/source/component/Hidden.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_HIDDEN_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_HIDDEN_HXX
+#pragma once
#include <FormComponent.hxx>
@@ -67,6 +66,4 @@ protected:
}
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_HIDDEN_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/ImageButton.hxx b/forms/source/component/ImageButton.hxx
index 8f618c47c13c..d3d248566944 100644
--- a/forms/source/component/ImageButton.hxx
+++ b/forms/source/component/ImageButton.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_IMAGEBUTTON_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_IMAGEBUTTON_HXX
+#pragma once
#include "clickableimage.hxx"
#include <com/sun/star/awt/XMouseListener.hpp>
@@ -92,6 +91,4 @@ public:
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_IMAGEBUTTON_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/ImageControl.hxx b/forms/source/component/ImageControl.hxx
index 01ae8018a24f..8776d891e83a 100644
--- a/forms/source/component/ImageControl.hxx
+++ b/forms/source/component/ImageControl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_IMAGECONTROL_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_IMAGECONTROL_HXX
+#pragma once
#include <FormComponent.hxx>
#include "imgprod.hxx"
@@ -186,6 +185,4 @@ private:
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_IMAGECONTROL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx
index c0ad179d39f5..046717202b2e 100644
--- a/forms/source/component/ListBox.hxx
+++ b/forms/source/component/ListBox.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_LISTBOX_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_LISTBOX_HXX
+#pragma once
#include <FormComponent.hxx>
#include "cachedrowset.hxx"
@@ -322,6 +321,4 @@ private:
}
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_LISTBOX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/Numeric.hxx b/forms/source/component/Numeric.hxx
index 6278b3e3b76c..6a77cc556dce 100644
--- a/forms/source/component/Numeric.hxx
+++ b/forms/source/component/Numeric.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_NUMERIC_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_NUMERIC_HXX
+#pragma once
#include "EditBase.hxx"
@@ -79,6 +78,4 @@ public:
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_NUMERIC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/Pattern.hxx b/forms/source/component/Pattern.hxx
index 80ce81639255..d7cfa9d09f0d 100644
--- a/forms/source/component/Pattern.hxx
+++ b/forms/source/component/Pattern.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_PATTERN_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_PATTERN_HXX
+#pragma once
#include "EditBase.hxx"
@@ -85,6 +84,4 @@ public:
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_PATTERN_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/RadioButton.hxx b/forms/source/component/RadioButton.hxx
index ab4e996a8600..b85a0a27ef9f 100644
--- a/forms/source/component/RadioButton.hxx
+++ b/forms/source/component/RadioButton.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_RADIOBUTTON_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_RADIOBUTTON_HXX
+#pragma once
#include "refvaluecomponent.hxx"
@@ -84,6 +83,4 @@ public:
}
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_RADIOBUTTON_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/Time.hxx b/forms/source/component/Time.hxx
index cc9ef1136042..d1187d39f318 100644
--- a/forms/source/component/Time.hxx
+++ b/forms/source/component/Time.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_TIME_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_TIME_HXX
+#pragma once
#include "EditBase.hxx"
#include <limitedformats.hxx>
@@ -106,6 +105,4 @@ public:
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_TIME_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/findpos.hxx b/forms/source/component/findpos.hxx
index b279558fdab0..2a40bc3ca958 100644
--- a/forms/source/component/findpos.hxx
+++ b/forms/source/component/findpos.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_FINDPOS_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_FINDPOS_HXX
+#pragma once
#include <sal/config.h>
#include <com/sun/star/uno/Sequence.hxx>
@@ -29,6 +28,4 @@ namespace detail
sal_Int32 findPos(const OUString& aStr, const css::uno::Sequence<OUString>& rList);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/imgprod.hxx b/forms/source/component/imgprod.hxx
index eff824b90ea8..45a0fa89baa7 100644
--- a/forms/source/component/imgprod.hxx
+++ b/forms/source/component/imgprod.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_IMGPROD_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_IMGPROD_HXX
+#pragma once
#include <tools/link.hxx>
#include <com/sun/star/awt/XImageConsumer.hpp>
@@ -87,6 +86,4 @@ public:
};
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_IMGPROD_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/navigationbar.hxx b/forms/source/component/navigationbar.hxx
index af55f64e4b1f..fade59422f8c 100644
--- a/forms/source/component/navigationbar.hxx
+++ b/forms/source/component/navigationbar.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_NAVIGATIONBAR_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_NAVIGATIONBAR_HXX
+#pragma once
#include <FormComponent.hxx>
#include <comphelper/propertycontainerhelper.hxx>
@@ -107,6 +106,4 @@ namespace frm
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_NAVIGATIONBAR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/refvaluecomponent.hxx b/forms/source/component/refvaluecomponent.hxx
index 958837ffcc18..09131c172bf7 100644
--- a/forms/source/component/refvaluecomponent.hxx
+++ b/forms/source/component/refvaluecomponent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_REFVALUECOMPONENT_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_REFVALUECOMPONENT_HXX
+#pragma once
#include <FormComponent.hxx>
#include <togglestate.hxx>
@@ -81,6 +80,4 @@ namespace frm
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_REFVALUECOMPONENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/scrollbar.hxx b/forms/source/component/scrollbar.hxx
index e79338e373a4..356d101be40e 100644
--- a/forms/source/component/scrollbar.hxx
+++ b/forms/source/component/scrollbar.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_SCROLLBAR_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_SCROLLBAR_HXX
+#pragma once
#include <FormComponent.hxx>
@@ -82,6 +81,4 @@ namespace frm
} // namespacefrm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_SCROLLBAR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/forms/source/component/spinbutton.hxx b/forms/source/component/spinbutton.hxx
index 9f79ce1d94a1..2579c322d733 100644
--- a/forms/source/component/spinbutton.hxx
+++ b/forms/source/component/spinbutton.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX
-#define INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX
+#pragma once
#include <FormComponent.hxx>
@@ -78,6 +77,4 @@ namespace frm
} // namespacefrm
-#endif // INCLUDED_FORMS_SOURCE_COMPONENT_SPINBUTTON_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */