diff options
author | Sıla Genç <silaqnc@gmail.com> | 2019-12-20 16:00:58 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2019-12-20 21:01:53 +0100 |
commit | 186fdf0d20162568891763f08e7f99a38535a699 (patch) | |
tree | e26759e71cf6bcbe7e34a710b522b379099f0e72 /cui/source | |
parent | 0d34eb78fd5fe72d9e10438b41e76fe45cb2c2df (diff) |
tdf#124176: Use pragma once instead of include guards
Change-Id: I88d5517d42b6c5b6809f062a789e7dd85394f6db
Reviewed-on: https://gerrit.libreoffice.org/85601
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optjava.hxx | 6 | ||||
-rw-r--r-- | cui/source/options/optjsearch.hxx | 6 |
2 files changed, 3 insertions, 9 deletions
diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx index ffefecce2d47..01cd15210f44 100644 --- a/cui/source/options/optjava.hxx +++ b/cui/source/options/optjava.hxx @@ -16,8 +16,8 @@ * 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_CUI_SOURCE_OPTIONS_OPTJAVA_HXX -#define INCLUDED_CUI_SOURCE_OPTIONS_OPTJAVA_HXX + +#pragma once #include <config_java.h> @@ -204,6 +204,4 @@ public: void SetClassPath( const OUString& _rPath ); }; -#endif // INCLUDED_CUI_SOURCE_OPTIONS_OPTJAVA_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/options/optjsearch.hxx b/cui/source/options/optjsearch.hxx index 8b2d68ddcf4d..f0da350ae651 100644 --- a/cui/source/options/optjsearch.hxx +++ b/cui/source/options/optjsearch.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTJSEARCH_HXX -#define INCLUDED_CUI_SOURCE_OPTIONS_OPTJSEARCH_HXX +#pragma once #include <i18nutil/transliteration.hxx> #include <sfx2/tabdlg.hxx> @@ -69,7 +68,4 @@ public: void SetTransliterationFlags( TransliterationFlags nSettings ); }; - -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |