diff options
author | Mesut Çifci <mesutcifci97@gmail.com> | 2019-12-19 12:43:51 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2019-12-29 16:50:00 +0100 |
commit | 53c9a6a0f133b188896eb1a3c40587d7a2c9277d (patch) | |
tree | 39666b3525d72190f816c742f6555c1fe07d3790 /basic | |
parent | 8039c9eb27170a162830f0ecd2086010a7a5858f (diff) |
tdf#124176: Use pragma once instead of include guards
Change-Id: I6a138e322c98e88e6002238276b1e751cde2142f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85501
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/comenumwrapper.hxx | 5 | ||||
-rw-r--r-- | basic/source/runtime/ddectrl.hxx | 5 | ||||
-rw-r--r-- | basic/source/sbx/sbxdec.hxx | 6 | ||||
-rw-r--r-- | basic/source/sbx/sbxres.hxx | 6 |
4 files changed, 4 insertions, 18 deletions
diff --git a/basic/source/runtime/comenumwrapper.hxx b/basic/source/runtime/comenumwrapper.hxx index 8af4e164b06c..5637a8b7c58b 100644 --- a/basic/source/runtime/comenumwrapper.hxx +++ b/basic/source/runtime/comenumwrapper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASIC_SOURCE_RUNTIME_COMENUMWRAPPER_HXX -#define INCLUDED_BASIC_SOURCE_RUNTIME_COMENUMWRAPPER_HXX +#pragma once #include <com/sun/star/container/XEnumeration.hpp> #include <com/sun/star/script/XInvocation.hpp> @@ -42,6 +41,4 @@ public: virtual css::uno::Any SAL_CALL nextElement() override; }; -#endif // INCLUDED_BASIC_SOURCE_RUNTIME_COMENUMWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/runtime/ddectrl.hxx b/basic/source/runtime/ddectrl.hxx index dc172d1143f0..3b4f3d9bb122 100644 --- a/basic/source/runtime/ddectrl.hxx +++ b/basic/source/runtime/ddectrl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASIC_SOURCE_RUNTIME_DDECTRL_HXX -#define INCLUDED_BASIC_SOURCE_RUNTIME_DDECTRL_HXX +#pragma once #include <tools/link.hxx> #include <vcl/errcode.hxx> @@ -52,6 +51,4 @@ public: ErrCode Poke( size_t nChannel, const OUString& rItem, const OUString& rData ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/sbx/sbxdec.hxx b/basic/source/sbx/sbxdec.hxx index 85a85557d8df..3db396ea6cb4 100644 --- a/basic/source/sbx/sbxdec.hxx +++ b/basic/source/sbx/sbxdec.hxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#ifndef INCLUDED_BASIC_SOURCE_SBX_SBXDEC_HXX -#define INCLUDED_BASIC_SOURCE_SBX_SBXDEC_HXX +#pragma once #ifdef _WIN32 #include <prewin.h> @@ -98,6 +96,4 @@ public: friend CmpResult compare( const SbxDecimal &rLeft, const SbxDecimal &rRight ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/sbx/sbxres.hxx b/basic/source/sbx/sbxres.hxx index 995c31d53a3f..185dad4089ac 100644 --- a/basic/source/sbx/sbxres.hxx +++ b/basic/source/sbx/sbxres.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BASIC_SOURCE_SBX_SBXRES_HXX -#define INCLUDED_BASIC_SOURCE_SBX_SBXRES_HXX +#pragma once #include <rtl/ustring.hxx> @@ -49,7 +48,4 @@ enum class StringId { OUString GetSbxRes( StringId ); - -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |