diff options
author | Vincent LE GARREC <libreoffice@le-garrec.fr> | 2021-03-06 08:28:23 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-03-23 10:54:09 +0100 |
commit | 1c0c2bb7920f5da7562a053019514d1e4cbdf1f6 (patch) | |
tree | d4dd124d4dbc0b12703b12d4eb945d11c063c297 /unoxml/inc | |
parent | 039e90ec011157c9e851221a53ec62d33acb71d1 (diff) |
tdf#124176 Use pragma once in u*
ucb, uno*, uui
Change-Id: Ic4b6d541eb0df8bf7bceddf178ebb5177ad2b87b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112046
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'unoxml/inc')
-rw-r--r-- | unoxml/inc/event.hxx | 4 | ||||
-rw-r--r-- | unoxml/inc/eventdispatcher.hxx | 5 | ||||
-rw-r--r-- | unoxml/inc/mouseevent.hxx | 4 | ||||
-rw-r--r-- | unoxml/inc/mutationevent.hxx | 4 | ||||
-rw-r--r-- | unoxml/inc/node.hxx | 5 | ||||
-rw-r--r-- | unoxml/inc/uievent.hxx | 4 |
6 files changed, 6 insertions, 20 deletions
diff --git a/unoxml/inc/event.hxx b/unoxml/inc/event.hxx index f44bb35f9b3b..c33d8f9d3b3c 100644 --- a/unoxml/inc/event.hxx +++ b/unoxml/inc/event.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_EVENT_HXX -#define INCLUDED_UNOXML_INC_EVENT_HXX +#pragma once #include <sal/types.h> @@ -66,6 +65,5 @@ public: sal_Bool cancelableArg) override; }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/inc/eventdispatcher.hxx b/unoxml/inc/eventdispatcher.hxx index 10bcb0a440c4..9ecd42585d3c 100644 --- a/unoxml/inc/eventdispatcher.hxx +++ b/unoxml/inc/eventdispatcher.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_EVENTDISPATCHER_HXX -#define INCLUDED_UNOXML_INC_EVENTDISPATCHER_HXX +#pragma once #include <map> @@ -78,6 +77,4 @@ public: }} -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/inc/mouseevent.hxx b/unoxml/inc/mouseevent.hxx index d88b1208e971..1b4ffe391cb9 100644 --- a/unoxml/inc/mouseevent.hxx +++ b/unoxml/inc/mouseevent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_MOUSEEVENT_HXX -#define INCLUDED_UNOXML_INC_MOUSEEVENT_HXX +#pragma once #include <com/sun/star/xml/dom/events/PhaseType.hpp> #include <com/sun/star/xml/dom/events/XMouseEvent.hpp> @@ -99,6 +98,5 @@ public: sal_Bool cancelableArg) override; }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/inc/mutationevent.hxx b/unoxml/inc/mutationevent.hxx index e06a3678ad87..0a7bd76b6611 100644 --- a/unoxml/inc/mutationevent.hxx +++ b/unoxml/inc/mutationevent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_MUTATIONEVENT_HXX -#define INCLUDED_UNOXML_INC_MUTATIONEVENT_HXX +#pragma once #include <sal/types.h> @@ -82,6 +81,5 @@ public: sal_Bool cancelableArg) override; }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/inc/node.hxx b/unoxml/inc/node.hxx index f91a08421c13..bec0a8c9b8c1 100644 --- a/unoxml/inc/node.hxx +++ b/unoxml/inc/node.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_NODE_HXX -#define INCLUDED_UNOXML_INC_NODE_HXX +#pragma once #include <libxml/tree.h> @@ -295,6 +294,4 @@ namespace DOM void nscleanup(const xmlNodePtr aNode, const xmlNodePtr aParent); } -#endif // INCLUDED_UNOXML_INC_NODE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unoxml/inc/uievent.hxx b/unoxml/inc/uievent.hxx index 4f449cd3dfaf..cfa39c5c4b77 100644 --- a/unoxml/inc/uievent.hxx +++ b/unoxml/inc/uievent.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOXML_INC_UIEVENT_HXX -#define INCLUDED_UNOXML_INC_UIEVENT_HXX +#pragma once #include <sal/types.h> @@ -67,6 +66,5 @@ public: sal_Bool cancelableArg) override; }; } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |