sw/inc/unostyle.hxx          |    4 +---
 sw/source/ui/vba/vbaview.hxx |    4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

New commits:
commit 9cac01b4f19c8fc3adb1a19a71b2f214a1586d8f
Author:     Siddharth <skhattar...@gmail.com>
AuthorDate: Wed Nov 9 11:30:33 2022 +0530
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Sat Nov 19 18:58:02 2022 +0100

    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.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

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: */

Reply via email to