summaryrefslogtreecommitdiff
path: root/embedserv
diff options
context:
space:
mode:
authorsahilbutoal08 <sahilbutola1@gmail.com>2022-10-30 15:30:11 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-11-02 18:44:39 +0100
commitac90933dde68c6daf1eeebabb55de6e361eb4995 (patch)
tree5ed94a58c0d6ed0b4b2a22539e196fc2dbfe029d /embedserv
parentfc29f11d6e1737b26eb89efababc89cf700e0f05 (diff)
tdf#143148 Use of #pragma once instead of include guards.
Change-Id: I975ad0a41dbcf39121b266e99b466193386d6b14 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142046 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'embedserv')
-rw-r--r--embedserv/source/inc/docholder.hxx5
-rw-r--r--embedserv/source/inc/embeddoc.hxx5
-rw-r--r--embedserv/source/inc/iipaobj.hxx5
-rw-r--r--embedserv/source/inc/intercept.hxx5
-rw-r--r--embedserv/source/inc/servprov.hxx5
-rw-r--r--embedserv/source/inprocserv/advisesink.hxx5
6 files changed, 6 insertions, 24 deletions
diff --git a/embedserv/source/inc/docholder.hxx b/embedserv/source/inc/docholder.hxx
index 0c0816cc625f..844435e3de83 100644
--- a/embedserv/source/inc/docholder.hxx
+++ b/embedserv/source/inc/docholder.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EMBEDSERV_SOURCE_INC_DOCHOLDER_HXX
-#define INCLUDED_EMBEDSERV_SOURCE_INC_DOCHOLDER_HXX
+#pragma once
#include "common.h"
#include <com/sun/star/frame/XLayoutManager.hpp>
@@ -248,6 +247,4 @@ public:
) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/embedserv/source/inc/embeddoc.hxx b/embedserv/source/inc/embeddoc.hxx
index 34d2bba1bfd0..1ff0ed338cf4 100644
--- a/embedserv/source/inc/embeddoc.hxx
+++ b/embedserv/source/inc/embeddoc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EMBEDSERV_SOURCE_INC_EMBEDDOC_HXX
-#define INCLUDED_EMBEDSERV_SOURCE_INC_EMBEDDOC_HXX
+#pragma once
#include "common.h"
#include <oleidl.h>
@@ -191,6 +190,4 @@ public:
}
};
-#endif // INCLUDED_EMBEDSERV_SOURCE_INC_EMBEDDOC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/embedserv/source/inc/iipaobj.hxx b/embedserv/source/inc/iipaobj.hxx
index de91f6b854a9..a6851e1277cb 100644
--- a/embedserv/source/inc/iipaobj.hxx
+++ b/embedserv/source/inc/iipaobj.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EMBEDSERV_SOURCE_INC_IIPAOBJ_HXX
-#define INCLUDED_EMBEDSERV_SOURCE_INC_IIPAOBJ_HXX
+#pragma once
#include "stdafx.h"
#include <oleidl.h>
@@ -59,6 +58,4 @@ private:
::rtl::Reference< DocumentHolder > m_rDocHolder;
};
-
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/embedserv/source/inc/intercept.hxx b/embedserv/source/inc/intercept.hxx
index c8435ec481fc..665f26aa82b9 100644
--- a/embedserv/source/inc/intercept.hxx
+++ b/embedserv/source/inc/intercept.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EMBEDSERV_SOURCE_INC_INTERCEPT_HXX
-#define INCLUDED_EMBEDSERV_SOURCE_INC_INTERCEPT_HXX
+#pragma once
#include <osl/mutex.hxx>
#include <cppuhelper/implbase.hxx>
@@ -146,6 +145,4 @@ private:
bool m_bLink;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/embedserv/source/inc/servprov.hxx b/embedserv/source/inc/servprov.hxx
index 790769fe32b1..f2b30fb6ccaa 100644
--- a/embedserv/source/inc/servprov.hxx
+++ b/embedserv/source/inc/servprov.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EMBEDSERV_SOURCE_INC_SERVPROV_HXX
-#define INCLUDED_EMBEDSERV_SOURCE_INC_SERVPROV_HXX
+#pragma once
#include "common.h"
#include <oleidl.h>
@@ -77,6 +76,4 @@ protected:
css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/embedserv/source/inprocserv/advisesink.hxx b/embedserv/source/inprocserv/advisesink.hxx
index 03c81f1ff18f..525a655087c8 100644
--- a/embedserv/source/inprocserv/advisesink.hxx
+++ b/embedserv/source/inprocserv/advisesink.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EMBEDSERV_SOURCE_INPROCSERV_ADVISESINK_HXX
-#define INCLUDED_EMBEDSERV_SOURCE_INPROCSERV_ADVISESINK_HXX
+#pragma once
#include <sal/config.h>
@@ -98,6 +97,4 @@ public:
}; // namespace advisesink
-#endif // INCLUDED_EMBEDSERV_SOURCE_INPROCSERV_ADVISESINK_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */