svx/source/dialog/ClassificationEditView.hxx |    5 +----
 svx/source/dialog/SafeModeDialog.hxx         |    5 +----
 svx/source/dialog/contimp.hxx                |    6 +-----
 svx/source/dialog/contwnd.hxx                |    6 +-----
 svx/source/dialog/crashreportdlg.hxx         |    5 +----
 5 files changed, 5 insertions(+), 22 deletions(-)

New commits:
commit 3f0dd3d635507e4505cab4dac6e493f9dc985c23
Author:     AkshayWarrier <aksmen...@gmail.com>
AuthorDate: Fri Jan 19 16:25:15 2024 +0530
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Fri Jan 19 15:50:28 2024 +0100

    tdf#143148 Use pragma once in svx
    
    Change-Id: I0317c57ec99a36d9f5153dadb556390a5d8858ae
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162302
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/svx/source/dialog/ClassificationEditView.hxx 
b/svx/source/dialog/ClassificationEditView.hxx
index 225efe1243db..4e9a036a0989 100644
--- a/svx/source/dialog/ClassificationEditView.hxx
+++ b/svx/source/dialog/ClassificationEditView.hxx
@@ -8,8 +8,7 @@
  *
  */
 
-#ifndef INCLUDED_SVX_CLASSIFICATIONEDITVIEW_HXX
-#define INCLUDED_SVX_CLASSIFICATIONEDITVIEW_HXX
+#pragma once
 
 #include <sal/config.h>
 #include <svx/weldeditview.hxx>
@@ -49,6 +48,4 @@ public:
 
 } // end svx namespace
 
-#endif // INCLUDED_SVX_CLASSIFICATIONEDITVIEW_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/dialog/SafeModeDialog.hxx 
b/svx/source/dialog/SafeModeDialog.hxx
index dd7db077e084..1d4df62ff566 100644
--- a/svx/source/dialog/SafeModeDialog.hxx
+++ b/svx/source/dialog/SafeModeDialog.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SVX_SOURCE_DIALOG_SAFEMODEDIALOG_HXX
-#define INCLUDED_SVX_SOURCE_DIALOG_SAFEMODEDIALOG_HXX
+#pragma once
 
 #include <comphelper/backupfilehelper.hxx>
 #include <vcl/weld.hxx>
@@ -61,6 +60,4 @@ private:
     DECL_LINK(DialogBtnHdl, weld::Button&, void);
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/dialog/contimp.hxx b/svx/source/dialog/contimp.hxx
index 2bf5aca4d1e8..268e64695249 100644
--- a/svx/source/dialog/contimp.hxx
+++ b/svx/source/dialog/contimp.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_SVX_SOURCE_DIALOG_CONTIMP_HXX
-#define INCLUDED_SVX_SOURCE_DIALOG_CONTIMP_HXX
+#pragma once
 
 #include <sfx2/ctrlitem.hxx>
 #include "contwnd.hxx"
@@ -126,7 +125,4 @@ public:
                                 void* pEditingObj );
 };
 
-
-#endif // INCLUDED_SVX_SOURCE_DIALOG_CONTIMP_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/dialog/contwnd.hxx b/svx/source/dialog/contwnd.hxx
index 1bad623c05d6..a6b6efff1a7d 100644
--- a/svx/source/dialog/contwnd.hxx
+++ b/svx/source/dialog/contwnd.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SVX_SOURCE_DIALOG_CONTWND_HXX
-#define INCLUDED_SVX_SOURCE_DIALOG_CONTWND_HXX
+#pragma once
 
 #include <tools/poly.hxx>
 #include <svx/graphctl.hxx>
@@ -64,7 +63,4 @@ public:
     void                SetWorkplaceClickHdl( const Link<ContourWindow&,void>& 
rLink ) { aWorkplaceClickLink = rLink; }
 };
 
-
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/dialog/crashreportdlg.hxx 
b/svx/source/dialog/crashreportdlg.hxx
index 3f2d9cb121c5..f7000e88557d 100644
--- a/svx/source/dialog/crashreportdlg.hxx
+++ b/svx/source/dialog/crashreportdlg.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_SVX_SOURCE_DIALOG_CRASHREPORTDLG_HXX
-#define INCLUDED_SVX_SOURCE_DIALOG_CRASHREPORTDLG_HXX
+#pragma once
 
 #include <vcl/weld.hxx>
 
@@ -37,6 +36,4 @@ private:
                      vcl::ILibreOfficeKitNotifier*);
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to