diff options
author | Siddharth <skhattar111@gmail.com> | 2022-11-09 11:30:33 +0530 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2022-11-19 18:58:02 +0100 |
commit | 9cac01b4f19c8fc3adb1a19a71b2f214a1586d8f (patch) | |
tree | 072716ce8a53ed9ce45f34f45a11793c729417fa | |
parent | 931e3d204e59ccb2e9c479477e6e66b2c098924f (diff) |
tdf#143148 Use pragma once instead of include guards
Change-Id: I50c2c0f202780d06b556ae82b51bab5c3f79d72e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142498
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r-- | sw/inc/unostyle.hxx | 4 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaview.hxx | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx index 7091fd603602..2c936486032e 100644 --- a/sw/inc/unostyle.hxx +++ b/sw/inc/unostyle.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_SW_INC_UNOSTYLE_HXX -#define INCLUDED_SW_INC_UNOSTYLE_HXX +#pragma once #include <svl/listener.hxx> #include <svl/style.hxx> @@ -391,6 +390,5 @@ class SwXTextCellStyle final : public cppu::WeakImplHelper static css::uno::Reference<css::style::XStyle> CreateXTextCellStyle(SwDocShell* pDocShell, const OUString& sName); }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/ui/vba/vbaview.hxx b/sw/source/ui/vba/vbaview.hxx index 7ac6003ddfc3..66d59e61b739 100644 --- a/sw/source/ui/vba/vbaview.hxx +++ b/sw/source/ui/vba/vbaview.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_SW_SOURCE_UI_VBA_VBAVIEW_HXX -#define INCLUDED_SW_SOURCE_UI_VBA_VBAVIEW_HXX +#pragma once #include <ooo/vba/word/XView.hpp> #include <vbahelper/vbahelperinterface.hxx> @@ -58,6 +57,5 @@ public: virtual OUString getServiceImplName() override; virtual css::uno::Sequence<OUString> getServiceNames() override; }; -#endif // INCLUDED_SW_SOURCE_UI_VBA_VBAVIEW_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |