summaryrefslogtreecommitdiff
path: root/framework/inc/helper
diff options
context:
space:
mode:
Diffstat (limited to 'framework/inc/helper')
-rw-r--r--framework/inc/helper/dockingareadefaultacceptor.hxx5
-rw-r--r--framework/inc/helper/mischelper.hxx5
-rw-r--r--framework/inc/helper/ocomponentaccess.hxx5
-rw-r--r--framework/inc/helper/ocomponentenumeration.hxx5
-rw-r--r--framework/inc/helper/oframes.hxx5
-rw-r--r--framework/inc/helper/persistentwindowstate.hxx5
-rw-r--r--framework/inc/helper/propertysetcontainer.hxx5
-rw-r--r--framework/inc/helper/shareablemutex.hxx5
-rw-r--r--framework/inc/helper/statusindicator.hxx5
-rw-r--r--framework/inc/helper/statusindicatorfactory.hxx5
-rw-r--r--framework/inc/helper/tagwindowasmodified.hxx5
-rw-r--r--framework/inc/helper/titlebarupdate.hxx5
-rw-r--r--framework/inc/helper/uiconfigelementwrapperbase.hxx5
-rw-r--r--framework/inc/helper/uielementwrapperbase.hxx5
-rw-r--r--framework/inc/helper/vclstatusindicator.hxx5
-rw-r--r--framework/inc/helper/wakeupthread.hxx5
16 files changed, 16 insertions, 64 deletions
diff --git a/framework/inc/helper/dockingareadefaultacceptor.hxx b/framework/inc/helper/dockingareadefaultacceptor.hxx
index 16423fb6e838..f591e12ef77a 100644
--- a/framework/inc/helper/dockingareadefaultacceptor.hxx
+++ b/framework/inc/helper/dockingareadefaultacceptor.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_DOCKINGAREADEFAULTACCEPTOR_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_DOCKINGAREADEFAULTACCEPTOR_HXX
+#pragma once
#include <com/sun/star/ui/XDockingAreaAcceptor.hpp>
#include <com/sun/star/frame/XFrame.hpp>
@@ -66,6 +65,4 @@ class DockingAreaDefaultAcceptor final : public ::cppu::WeakImplHelper< css::ui:
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_DOCKINGAREADEFAULTACCEPTOR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/mischelper.hxx b/framework/inc/helper/mischelper.hxx
index d05ae360a082..e7f4412a4306 100644
--- a/framework/inc/helper/mischelper.hxx
+++ b/framework/inc/helper/mischelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_MISCHELPER_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_MISCHELPER_HXX
+#pragma once
#include <com/sun/star/linguistic2/XLanguageGuessing.hpp>
#include <com/sun/star/document/XDocumentEventListener.hpp>
@@ -258,6 +257,4 @@ extern auto (*g_pGetMultiplexerListener)(
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_MISCHELPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/ocomponentaccess.hxx b/framework/inc/helper/ocomponentaccess.hxx
index ed11756c08ef..9c444953a042 100644
--- a/framework/inc/helper/ocomponentaccess.hxx
+++ b/framework/inc/helper/ocomponentaccess.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTACCESS_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTACCESS_HXX
+#pragma once
#include <com/sun/star/frame/XFramesSupplier.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
@@ -159,6 +158,4 @@ class OComponentAccess final : public ::cppu::WeakImplHelper< css::container::XE
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTACCESS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/ocomponentenumeration.hxx b/framework/inc/helper/ocomponentenumeration.hxx
index 10de97dd5806..008b688dec1a 100644
--- a/framework/inc/helper/ocomponentenumeration.hxx
+++ b/framework/inc/helper/ocomponentenumeration.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTENUMERATION_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTENUMERATION_HXX
+#pragma once
#include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
@@ -158,6 +157,4 @@ class OComponentEnumeration final : public ::cppu::WeakImplHelper< css::containe
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_OCOMPONENTENUMERATION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/oframes.hxx b/framework/inc/helper/oframes.hxx
index 773685876a57..d29063407aa4 100644
--- a/framework/inc/helper/oframes.hxx
+++ b/framework/inc/helper/oframes.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_OFRAMES_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_OFRAMES_HXX
+#pragma once
#include <framework/framecontainer.hxx>
@@ -188,6 +187,4 @@ class OFrames final : public ::cppu::WeakImplHelper< css::frame::XFrames >
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/persistentwindowstate.hxx b/framework/inc/helper/persistentwindowstate.hxx
index 86e477fd7920..2dd9391576df 100644
--- a/framework/inc/helper/persistentwindowstate.hxx
+++ b/framework/inc/helper/persistentwindowstate.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_PERSISTENTWINDOWSTATE_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_PERSISTENTWINDOWSTATE_HXX
+#pragma once
#include <sal/config.h>
@@ -164,6 +163,4 @@ class PersistentWindowState final : public ::cppu::WeakImplHelper<
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_PERSISTENTWINDOWSTATE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/propertysetcontainer.hxx b/framework/inc/helper/propertysetcontainer.hxx
index 6ad2dc86cb88..ba1c7110d1b6 100644
--- a/framework/inc/helper/propertysetcontainer.hxx
+++ b/framework/inc/helper/propertysetcontainer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_PROPERTYSETCONTAINER_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_PROPERTYSETCONTAINER_HXX
+#pragma once
/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
with solaris headers ...
@@ -72,6 +71,4 @@ class PropertySetContainer : public css::container::XIndexContainer ,
}
-#endif // __FRAMEWORK_CLASSES_PROPERTYSETCONTAINER_HXX_
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/shareablemutex.hxx b/framework/inc/helper/shareablemutex.hxx
index 9e6c3ac41c97..d43b3e938d20 100644
--- a/framework/inc/helper/shareablemutex.hxx
+++ b/framework/inc/helper/shareablemutex.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_SHAREABLEMUTEX_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_SHAREABLEMUTEX_HXX
+#pragma once
#include <osl/interlck.h>
#include <osl/mutex.hxx>
@@ -88,6 +87,4 @@ class ShareGuard
}
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_SHAREABLEMUTEX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/statusindicator.hxx b/framework/inc/helper/statusindicator.hxx
index 66d5b1e7535a..8d97738d0008 100644
--- a/framework/inc/helper/statusindicator.hxx
+++ b/framework/inc/helper/statusindicator.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATOR_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATOR_HXX
+#pragma once
// include files of own module
#include <helper/statusindicatorfactory.hxx>
@@ -101,6 +100,4 @@ class StatusIndicator final : public ::cppu::WeakImplHelper< css::task::XStatus
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATOR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx
index c16f1eb37b67..f0f46a26ee95 100644
--- a/framework/inc/helper/statusindicatorfactory.hxx
+++ b/framework/inc/helper/statusindicatorfactory.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATORFACTORY_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATORFACTORY_HXX
+#pragma once
// Attention: stl headers must(!) be included at first. Otherwise it can make trouble
// with solaris headers ...
@@ -268,6 +267,4 @@ class StatusIndicatorFactory final : public ::cppu::WeakImplHelper<
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_STATUSINDICATORFACTORY_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/tagwindowasmodified.hxx b/framework/inc/helper/tagwindowasmodified.hxx
index f466803a0a20..ee06ed6d6e44 100644
--- a/framework/inc/helper/tagwindowasmodified.hxx
+++ b/framework/inc/helper/tagwindowasmodified.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_TAGWINDOWASMODIFIED_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_TAGWINDOWASMODIFIED_HXX
+#pragma once
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/frame/XFrame.hpp>
@@ -91,6 +90,4 @@ class TagWindowAsModified final : public ::cppu::WeakImplHelper<
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_TAGWINDOWASMODIFIED_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/titlebarupdate.hxx b/framework/inc/helper/titlebarupdate.hxx
index c06d23976ed4..dccfd91dbd62 100644
--- a/framework/inc/helper/titlebarupdate.hxx
+++ b/framework/inc/helper/titlebarupdate.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_TITLEBARUPDATE_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_TITLEBARUPDATE_HXX
+#pragma once
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -140,6 +139,4 @@ class TitleBarUpdate final : public ::cppu::WeakImplHelper<
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_TITLEBARUPDATE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/uiconfigelementwrapperbase.hxx b/framework/inc/helper/uiconfigelementwrapperbase.hxx
index 67d971bfb687..3b594c876be3 100644
--- a/framework/inc/helper/uiconfigelementwrapperbase.hxx
+++ b/framework/inc/helper/uiconfigelementwrapperbase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_UICONFIGELEMENTWRAPPERBASE_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_UICONFIGELEMENTWRAPPERBASE_HXX
+#pragma once
#include <com/sun/star/ui/XUIElement.hpp>
#include <com/sun/star/ui/XUIElementSettings.hpp>
@@ -138,6 +137,4 @@ class UIConfigElementWrapperBase : private cppu::BaseMutex,
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_UICONFIGELEMENTWRAPPERBASE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/uielementwrapperbase.hxx b/framework/inc/helper/uielementwrapperbase.hxx
index 11c30680f67e..664000b67fa8 100644
--- a/framework/inc/helper/uielementwrapperbase.hxx
+++ b/framework/inc/helper/uielementwrapperbase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_UIELEMENTWRAPPERBASE_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_UIELEMENTWRAPPERBASE_HXX
+#pragma once
#include <com/sun/star/ui/XUIElement.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -109,6 +108,4 @@ class UIElementWrapperBase : private cppu::BaseMutex,
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_UIELEMENTWRAPPERBASE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/vclstatusindicator.hxx b/framework/inc/helper/vclstatusindicator.hxx
index ba0a84a0e2f4..bd325665f8d7 100644
--- a/framework/inc/helper/vclstatusindicator.hxx
+++ b/framework/inc/helper/vclstatusindicator.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_VCLSTATUSINDICATOR_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_VCLSTATUSINDICATOR_HXX
+#pragma once
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/awt/XWindow.hpp>
@@ -87,6 +86,4 @@ class VCLStatusIndicator final : public ::cppu::WeakImplHelper< css::task::XSta
} // namespace framework
-#endif // INCLUDED_FRAMEWORK_INC_HELPER_VCLSTATUSINDICATOR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/framework/inc/helper/wakeupthread.hxx b/framework/inc/helper/wakeupthread.hxx
index 49f268a821e8..f9099180d03f 100644
--- a/framework/inc/helper/wakeupthread.hxx
+++ b/framework/inc/helper/wakeupthread.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FRAMEWORK_INC_HELPER_WAKEUPTHREAD_HXX
-#define INCLUDED_FRAMEWORK_INC_HELPER_WAKEUPTHREAD_HXX
+#pragma once
#include <sal/config.h>
@@ -52,6 +51,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */