summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTolunay Dündar <dndr.dev@protonmail.com>2019-12-18 20:00:02 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-12-19 04:43:11 +0100
commit9ed0afc79b7da20d08153c2c3e302b061292358f (patch)
tree38098fcc59ad0a8f80ebc89b4144b8407990124f
parent583c1c34ae9c974f68d21ee6b74baf87ab08c6cf (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I47be8a0488b7ff7ce176f10aaf90b8be6913cc8a Reviewed-on: https://gerrit.libreoffice.org/85412 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
-rw-r--r--cui/source/options/optaboutconfig.hxx5
-rw-r--r--cui/source/options/optaccessibility.hxx5
2 files changed, 2 insertions, 8 deletions
diff --git a/cui/source/options/optaboutconfig.hxx b/cui/source/options/optaboutconfig.hxx
index b7781859eb4b..69a207da6712 100644
--- a/cui/source/options/optaboutconfig.hxx
+++ b/cui/source/options/optaboutconfig.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTABOUTCONFIG_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_OPTABOUTCONFIG_HXX
+#pragma once
#include <com/sun/star/container/XNameAccess.hpp>
@@ -93,6 +92,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optaccessibility.hxx b/cui/source/options/optaccessibility.hxx
index 93886c73555d..35d5fdefde03 100644
--- a/cui/source/options/optaccessibility.hxx
+++ b/cui/source/options/optaccessibility.hxx
@@ -16,8 +16,7 @@
* 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_OPTACCESSIBILITY_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_OPTACCESSIBILITY_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -40,6 +39,4 @@ public:
virtual void Reset( const SfxItemSet* rSet ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */