summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/inc
diff options
context:
space:
mode:
authorVincent LE GARREC <libreoffice@le-garrec.fr>2021-03-06 09:51:47 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-03-23 13:14:42 +0100
commitaef40e738842522c050538cc8a62c2d1f4861861 (patch)
treeecbde063724dd36e9e3401aed887331f0e6f8f40 /xmlhelp/source/cxxhelp/inc
parent90c978f839e5029c69b4acb70f37909ee3016614 (diff)
tdf#124176 Use pragma once in x*
xmlhelp, xmloff, xmlsecurity Change-Id: I80c6fa806387f3dcba8be7f93fe2fef146b033e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112050 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'xmlhelp/source/cxxhelp/inc')
-rw-r--r--xmlhelp/source/cxxhelp/inc/tvfactory.hxx5
-rw-r--r--xmlhelp/source/cxxhelp/inc/tvread.hxx5
2 files changed, 2 insertions, 8 deletions
diff --git a/xmlhelp/source/cxxhelp/inc/tvfactory.hxx b/xmlhelp/source/cxxhelp/inc/tvfactory.hxx
index 6ca53c7f52e4..b5a557842867 100644
--- a/xmlhelp/source/cxxhelp/inc/tvfactory.hxx
+++ b/xmlhelp/source/cxxhelp/inc/tvfactory.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLHELP_SOURCE_CXXHELP_INC_TVFACTORY_HXX
-#define INCLUDED_XMLHELP_SOURCE_CXXHELP_INC_TVFACTORY_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/XInterface.hpp>
@@ -75,6 +74,4 @@ class TVFactory final : public cppu::WeakImplHelper <
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmlhelp/source/cxxhelp/inc/tvread.hxx b/xmlhelp/source/cxxhelp/inc/tvread.hxx
index 6f8ac1d38b7b..31ec7fedfbf6 100644
--- a/xmlhelp/source/cxxhelp/inc/tvread.hxx
+++ b/xmlhelp/source/cxxhelp/inc/tvread.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_XMLHELP_SOURCE_CXXHELP_INC_TVREAD_HXX
-#define INCLUDED_XMLHELP_SOURCE_CXXHELP_INC_TVREAD_HXX
+#pragma once
#include <vector>
#include <rtl/ref.hxx>
@@ -290,6 +289,4 @@ namespace treeview {
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */