summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorAkshayWarrier <aksmen121@gmail.com>2024-01-19 16:25:15 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-01-19 15:50:28 +0100
commit3f0dd3d635507e4505cab4dac6e493f9dc985c23 (patch)
treeb60c3ab742f9a2c15d457352143fbcd566ceef00 /svx
parent5202a6fe010fd9ce20303c573c8da0f5ab09eea8 (diff)
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.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/ClassificationEditView.hxx5
-rw-r--r--svx/source/dialog/SafeModeDialog.hxx5
-rw-r--r--svx/source/dialog/contimp.hxx6
-rw-r--r--svx/source/dialog/contwnd.hxx6
-rw-r--r--svx/source/dialog/crashreportdlg.hxx5
5 files changed, 5 insertions, 22 deletions
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: */