summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBatuhan Görkem Benzer <batuhan1167@gmail.com>2019-12-18 12:00:05 -0500
committerMuhammet Kara <muhammet.kara@collabora.com>2019-12-19 07:38:25 +0100
commit7b1f3135de3211b0b750571ecdcd9dcab752b544 (patch)
treebaf3b2cf08575155348061374793ad02cf701de7
parent0b827a6a64300430b43dfb48daab33f81d3494de (diff)
tdf#124176: Use pragma once instead of header guard
Change-Id: I720508aa4bfd77f15b5d713e4d948b06af0be4c2 Reviewed-on: https://gerrit.libreoffice.org/85414 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
-rw-r--r--cui/source/options/sdbcdriverenum.hxx8
-rw-r--r--cui/source/options/securityoptions.hxx5
2 files changed, 2 insertions, 11 deletions
diff --git a/cui/source/options/sdbcdriverenum.hxx b/cui/source/options/sdbcdriverenum.hxx
index 6dfbfd62ff12..ef25bca00430 100644
--- a/cui/source/options/sdbcdriverenum.hxx
+++ b/cui/source/options/sdbcdriverenum.hxx
@@ -17,9 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_SDBCDRIVERENUM_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_SDBCDRIVERENUM_HXX
-
+#pragma once
#include <rtl/ustring.hxx>
@@ -53,8 +51,4 @@ namespace offapp
} // namespace offapp
-
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_SDBCDRIVERENUM_HXX
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/securityoptions.hxx b/cui/source/options/securityoptions.hxx
index 1176bd7fe818..d5ed7b01ac25 100644
--- a/cui/source/options/securityoptions.hxx
+++ b/cui/source/options/securityoptions.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_SECURITYOPTIONS_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_SECURITYOPTIONS_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -61,6 +60,4 @@ namespace svx
};
}
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_SECURITYOPTIONS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */