diff options
author | Vincent LE GARREC <libreoffice@le-garrec.fr> | 2021-03-06 09:49:30 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-03-23 13:39:56 +0100 |
commit | 24552a0b5be620b5e58b10842cba78e36fa26b04 (patch) | |
tree | df793dbd1f18169a93be145ae5ded9cca2f6cc67 /sc/source/ui/inc | |
parent | 59b0dd6e94c876dd322503f326fedf5fa350d25e (diff) |
tdf#124176 Use pragma once in s*
sc, scaddins, sccomp, scripting
Change-Id: Ia99fec9e238033821cb784810edd4762c09bd5db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112049
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sc/source/ui/inc')
252 files changed, 252 insertions, 1001 deletions
diff --git a/sc/source/ui/inc/AccessibilityHints.hxx b/sc/source/ui/inc/AccessibilityHints.hxx index fbb8ce65a361..41b8415a65dc 100644 --- a/sc/source/ui/inc/AccessibilityHints.hxx +++ b/sc/source/ui/inc/AccessibilityHints.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBILITYHINTS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBILITYHINTS_HXX +#pragma once #include "viewdata.hxx" #include <svl/hint.hxx> @@ -55,6 +54,4 @@ public: ScSplitPos GetNewGridWin() const { return eNewGridWin; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessibleCell.hxx b/sc/source/ui/inc/AccessibleCell.hxx index 7cc5683a6633..629eb4994650 100644 --- a/sc/source/ui/inc/AccessibleCell.hxx +++ b/sc/source/ui/inc/AccessibleCell.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECELL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECELL_HXX +#pragma once #include <memory> #include "AccessibleCellBase.hxx" @@ -164,6 +163,4 @@ private: bool IsDropdown() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessibleCellBase.hxx b/sc/source/ui/inc/AccessibleCellBase.hxx index 2fb00ee47844..b7226e31e9a3 100644 --- a/sc/source/ui/inc/AccessibleCellBase.hxx +++ b/sc/source/ui/inc/AccessibleCellBase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECELLBASE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECELLBASE_HXX +#pragma once #include "AccessibleContextBase.hxx" #include <address.hxx> @@ -132,6 +131,4 @@ public: const ScAddress& GetCellAddress() const { return maCellAddress; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx index 670f3add4d5b..01bfb2f5c573 100644 --- a/sc/source/ui/inc/AccessibleContextBase.hxx +++ b/sc/source/ui/inc/AccessibleContextBase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECONTEXTBASE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECONTEXTBASE_HXX +#pragma once #include <com/sun/star/accessibility/XAccessible.hpp> #include <com/sun/star/accessibility/XAccessibleComponent.hpp> @@ -284,6 +283,4 @@ private: sal_Int16 maRole; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessibleCsvControl.hxx b/sc/source/ui/inc/AccessibleCsvControl.hxx index bb83a39e651c..95ec20fb4ff3 100644 --- a/sc/source/ui/inc/AccessibleCsvControl.hxx +++ b/sc/source/ui/inc/AccessibleCsvControl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECSVCONTROL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECSVCONTROL_HXX +#pragma once #include <memory> #include <com/sun/star/accessibility/AccessibleRole.hpp> @@ -509,6 +508,4 @@ private: ::std::unique_ptr< SvxEditSource > implCreateEditSource(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessibleDocument.hxx b/sc/source/ui/inc/AccessibleDocument.hxx index acff21367fcf..e2c620a5e5a0 100644 --- a/sc/source/ui/inc/AccessibleDocument.hxx +++ b/sc/source/ui/inc/AccessibleDocument.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENT_HXX +#pragma once #include "AccessibleDocumentBase.hxx" #include "viewdata.hxx" @@ -261,6 +260,4 @@ public: virtual sal_Int32 SAL_CALL getBackground( ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessibleDocumentBase.hxx b/sc/source/ui/inc/AccessibleDocumentBase.hxx index b09c7f297804..23a984f666cf 100644 --- a/sc/source/ui/inc/AccessibleDocumentBase.hxx +++ b/sc/source/ui/inc/AccessibleDocumentBase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENTBASE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENTBASE_HXX +#pragma once #include "AccessibleContextBase.hxx" @@ -32,6 +31,4 @@ protected: virtual ~ScAccessibleDocumentBase() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx b/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx index a433c46debc1..45f9d2481c06 100644 --- a/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx +++ b/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENTPAGEPREVIEW_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENTPAGEPREVIEW_HXX +#pragma once #include <sal/config.h> @@ -130,6 +129,4 @@ private: ScShapeChildren* GetShapeChildren(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessibleEditObject.hxx b/sc/source/ui/inc/AccessibleEditObject.hxx index 83dedda9b387..6b734062dca8 100644 --- a/sc/source/ui/inc/AccessibleEditObject.hxx +++ b/sc/source/ui/inc/AccessibleEditObject.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEEDITOBJECT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEEDITOBJECT_HXX +#pragma once #include "AccessibleContextBase.hxx" @@ -222,6 +221,4 @@ public: virtual void SAL_CALL disposing() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessiblePageHeader.hxx b/sc/source/ui/inc/AccessiblePageHeader.hxx index 82262186e82d..3e43671b5863 100644 --- a/sc/source/ui/inc/AccessiblePageHeader.hxx +++ b/sc/source/ui/inc/AccessiblePageHeader.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPAGEHEADER_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPAGEHEADER_HXX +#pragma once #include "AccessibleContextBase.hxx" #include <editeng/svxenum.hxx> @@ -88,6 +87,4 @@ private: void AddChild(const EditTextObject* pArea, sal_uInt32 nIndex, SvxAdjust eAdjust); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx index 572100c5a80d..773447f152f3 100644 --- a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx +++ b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPAGEHEADERAREA_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPAGEHEADERAREA_HXX +#pragma once #include "AccessibleContextBase.hxx" #include <editeng/svxenum.hxx> @@ -111,6 +110,4 @@ private: void CreateTextHelper(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessiblePreviewCell.hxx b/sc/source/ui/inc/AccessiblePreviewCell.hxx index 08b72ba04f77..7d34e5da1a96 100644 --- a/sc/source/ui/inc/AccessiblePreviewCell.hxx +++ b/sc/source/ui/inc/AccessiblePreviewCell.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWCELL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWCELL_HXX +#pragma once #include "AccessibleCellBase.hxx" @@ -97,6 +96,4 @@ private: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx index e18c7eb54a6b..08fb125be012 100644 --- a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx +++ b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWHEADERCELL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWHEADERCELL_HXX +#pragma once #include "AccessibleContextBase.hxx" #include <com/sun/star/accessibility/XAccessibleValue.hpp> @@ -127,6 +126,4 @@ private: void FillTableInfo() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessiblePreviewTable.hxx b/sc/source/ui/inc/AccessiblePreviewTable.hxx index 54d7b92f8190..25bae420c81f 100644 --- a/sc/source/ui/inc/AccessiblePreviewTable.hxx +++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWTABLE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWTABLE_HXX +#pragma once #include "AccessibleContextBase.hxx" #include <com/sun/star/accessibility/XAccessibleTable.hpp> @@ -132,6 +131,4 @@ private: void FillTableInfo() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx index 4ef24c81f61b..8f33e5d2ada0 100644 --- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx +++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLESPREADSHEET_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLESPREADSHEET_HXX +#pragma once #include <sal/config.h> @@ -274,6 +273,4 @@ private: OUString m_strOldTabName; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx index 067057f106c3..7bde20e989d1 100644 --- a/sc/source/ui/inc/AccessibleTableBase.hxx +++ b/sc/source/ui/inc/AccessibleTableBase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLETABLEBASE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLETABLEBASE_HXX +#pragma once #include "AccessibleContextBase.hxx" #include <address.hxx> @@ -232,6 +231,4 @@ protected: void CommitTableModelChange(sal_Int32 nStartRow, sal_Int32 nStartCol, sal_Int32 nEndRow, sal_Int32 nEndCol, sal_uInt16 nId); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AccessibleText.hxx b/sc/source/ui/inc/AccessibleText.hxx index eea859858d0e..57a02475f0bb 100644 --- a/sc/source/ui/inc/AccessibleText.hxx +++ b/sc/source/ui/inc/AccessibleText.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLETEXT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLETEXT_HXX +#pragma once #include <textuno.hxx> #include <address.hxx> @@ -288,6 +287,4 @@ public: virtual void UpdateData() override {} }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/AnalysisOfVarianceDialog.hxx b/sc/source/ui/inc/AnalysisOfVarianceDialog.hxx index 517d0948be86..78506127a32e 100644 --- a/sc/source/ui/inc/AnalysisOfVarianceDialog.hxx +++ b/sc/source/ui/inc/AnalysisOfVarianceDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ANALYSISOFVARIANCEDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ANALYSISOFVARIANCEDIALOG_HXX +#pragma once #include <address.hxx> #include "viewdata.hxx" @@ -59,6 +58,4 @@ protected: virtual ScRange ApplyOutput(ScDocShell* pDocShell) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/ChartRangeSelectionListener.hxx b/sc/source/ui/inc/ChartRangeSelectionListener.hxx index cdba0dbb00bb..5bfb80652393 100644 --- a/sc/source/ui/inc/ChartRangeSelectionListener.hxx +++ b/sc/source/ui/inc/ChartRangeSelectionListener.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_SC_SOURCE_UI_INC_CHARTRANGESELECTIONLISTENER_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CHARTRANGESELECTIONLISTENER_HXX +#pragma once #include <cppuhelper/compbase.hxx> #include <cppuhelper/basemutex.hxx> @@ -63,6 +62,5 @@ private: }; // INCLUDED_SC_SOURCE_UI_INC_CHARTRANGESELECTIONLISTENER_HXX -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/ChiSquareTestDialog.hxx b/sc/source/ui/inc/ChiSquareTestDialog.hxx index f84c4c6ae0cb..584035c8e83c 100644 --- a/sc/source/ui/inc/ChiSquareTestDialog.hxx +++ b/sc/source/ui/inc/ChiSquareTestDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CHISQUARETESTDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CHISQUARETESTDIALOG_HXX +#pragma once #include "StatisticsInputOutputDialog.hxx" @@ -29,6 +28,4 @@ protected: virtual ScRange ApplyOutput(ScDocShell* pDocShell) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/ChildWindowWrapper.hxx b/sc/source/ui/inc/ChildWindowWrapper.hxx index f88c49f5e904..572a76c32bb4 100644 --- a/sc/source/ui/inc/ChildWindowWrapper.hxx +++ b/sc/source/ui/inc/ChildWindowWrapper.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CHILDWINDOWWRAPPER_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CHILDWINDOWWRAPPER_HXX +#pragma once #include <sfx2/dispatch.hxx> #include <sfx2/viewfrm.hxx> @@ -78,6 +77,4 @@ private: } }; -#endif // INCLUDED_SC_SOURCE_UI_INC_CHILDWINDOWWRAPPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/CorrelationDialog.hxx b/sc/source/ui/inc/CorrelationDialog.hxx index f2ab7ca97909..5200c3f55bfd 100644 --- a/sc/source/ui/inc/CorrelationDialog.hxx +++ b/sc/source/ui/inc/CorrelationDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CORRELATIONDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CORRELATIONDIALOG_HXX +#pragma once #include "MatrixComparisonGenerator.hxx" @@ -27,6 +26,4 @@ protected: virtual OUString getTemplate() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/CovarianceDialog.hxx b/sc/source/ui/inc/CovarianceDialog.hxx index 7b9e0daa634c..ae30b34e086b 100644 --- a/sc/source/ui/inc/CovarianceDialog.hxx +++ b/sc/source/ui/inc/CovarianceDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_COVARIANCEDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_COVARIANCEDIALOG_HXX +#pragma once #include "MatrixComparisonGenerator.hxx" @@ -28,6 +27,4 @@ protected: virtual const char* GetUndoNameId() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/DescriptiveStatisticsDialog.hxx b/sc/source/ui/inc/DescriptiveStatisticsDialog.hxx index 9dfc6bde979f..9edd1329021e 100644 --- a/sc/source/ui/inc/DescriptiveStatisticsDialog.hxx +++ b/sc/source/ui/inc/DescriptiveStatisticsDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DESCRIPTIVESTATISTICSDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DESCRIPTIVESTATISTICSDIALOG_HXX +#pragma once #include "StatisticsInputOutputDialog.hxx" @@ -29,6 +28,4 @@ protected: virtual ScRange ApplyOutput(ScDocShell* pDocShell) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/DrawModelBroadcaster.hxx b/sc/source/ui/inc/DrawModelBroadcaster.hxx index 0d5966b864fa..34d46f89b210 100644 --- a/sc/source/ui/inc/DrawModelBroadcaster.hxx +++ b/sc/source/ui/inc/DrawModelBroadcaster.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DRAWMODELBROADCASTER_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DRAWMODELBROADCASTER_HXX +#pragma once #include <svl/lstner.hxx> #include <comphelper/interfacecontainer3.hxx> @@ -52,6 +51,4 @@ public: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/ExponentialSmoothingDialog.hxx b/sc/source/ui/inc/ExponentialSmoothingDialog.hxx index 3473f1791221..0d425fdbc0a2 100644 --- a/sc/source/ui/inc/ExponentialSmoothingDialog.hxx +++ b/sc/source/ui/inc/ExponentialSmoothingDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_EXPONENTIALSMOOTHINGDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_EXPONENTIALSMOOTHINGDIALOG_HXX +#pragma once #include <address.hxx> #include "viewdata.hxx" @@ -35,6 +34,4 @@ protected: virtual ScRange ApplyOutput(ScDocShell* pDocShell) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/FTestDialog.hxx b/sc/source/ui/inc/FTestDialog.hxx index 3a74393e1ed5..f1a0467b24d0 100644 --- a/sc/source/ui/inc/FTestDialog.hxx +++ b/sc/source/ui/inc/FTestDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FTESTDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FTESTDIALOG_HXX +#pragma once #include "StatisticsTwoVariableDialog.hxx" @@ -29,6 +28,4 @@ protected: virtual ScRange ApplyOutput(ScDocShell* pDocShell) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/FourierAnalysisDialog.hxx b/sc/source/ui/inc/FourierAnalysisDialog.hxx index 9c641c2eaebe..3814c6e7487d 100644 --- a/sc/source/ui/inc/FourierAnalysisDialog.hxx +++ b/sc/source/ui/inc/FourierAnalysisDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FOURIERANALYSISDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FOURIERANALYSISDIALOG_HXX +#pragma once #include "StatisticsInputOutputDialog.hxx" @@ -54,6 +53,4 @@ private: DECL_LINK(CheckBoxHdl, weld::ToggleButton&, void); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/IAnyRefDialog.hxx b/sc/source/ui/inc/IAnyRefDialog.hxx index 49f0e48b8145..acc8a5bfce8c 100644 --- a/sc/source/ui/inc/IAnyRefDialog.hxx +++ b/sc/source/ui/inc/IAnyRefDialog.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_SC_SOURCE_UI_INC_IANYREFDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_IANYREFDIALOG_HXX +#pragma once #include <formula/IControlReferenceHandler.hxx> @@ -46,6 +45,4 @@ public: virtual void ViewShellChanged() = 0; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_IANYREFDIALOG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/MatrixComparisonGenerator.hxx b/sc/source/ui/inc/MatrixComparisonGenerator.hxx index d7071458650a..e68d60772035 100644 --- a/sc/source/ui/inc/MatrixComparisonGenerator.hxx +++ b/sc/source/ui/inc/MatrixComparisonGenerator.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_MATRIXCOMPARISONGENERATOR_HXX -#define INCLUDED_SC_SOURCE_UI_INC_MATRIXCOMPARISONGENERATOR_HXX +#pragma once #include <address.hxx> #include "viewdata.hxx" @@ -34,6 +33,4 @@ protected: virtual OUString getTemplate() = 0; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/MovingAverageDialog.hxx b/sc/source/ui/inc/MovingAverageDialog.hxx index 1a7dbd1ca043..fe03e2631d08 100644 --- a/sc/source/ui/inc/MovingAverageDialog.hxx +++ b/sc/source/ui/inc/MovingAverageDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_MOVINGAVERAGEDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_MOVINGAVERAGEDIALOG_HXX +#pragma once #include <address.hxx> #include "viewdata.hxx" @@ -36,6 +35,4 @@ protected: virtual ScRange ApplyOutput(ScDocShell* pDocShell) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/PivotLayoutDialog.hxx b/sc/source/ui/inc/PivotLayoutDialog.hxx index 99f72727341e..fe5d0bf40a8d 100644 --- a/sc/source/ui/inc/PivotLayoutDialog.hxx +++ b/sc/source/ui/inc/PivotLayoutDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTDIALOG_HXX +#pragma once #include "anyrefdg.hxx" #include <dpobject.hxx> @@ -139,4 +138,3 @@ public: /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -#endif diff --git a/sc/source/ui/inc/PivotLayoutTreeList.hxx b/sc/source/ui/inc/PivotLayoutTreeList.hxx index 1682b929eb4c..cc12f9c8cb2b 100644 --- a/sc/source/ui/inc/PivotLayoutTreeList.hxx +++ b/sc/source/ui/inc/PivotLayoutTreeList.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELIST_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELIST_HXX +#pragma once #include <memory> #include "PivotLayoutTreeListBase.hxx" @@ -37,5 +36,3 @@ protected: }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ - -#endif diff --git a/sc/source/ui/inc/PivotLayoutTreeListBase.hxx b/sc/source/ui/inc/PivotLayoutTreeListBase.hxx index 24186c2494a5..51858de68530 100644 --- a/sc/source/ui/inc/PivotLayoutTreeListBase.hxx +++ b/sc/source/ui/inc/PivotLayoutTreeListBase.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTBASE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTBASE_HXX +#pragma once #include <vcl/transfer.hxx> #include <vcl/weld.hxx> @@ -69,5 +68,3 @@ public: }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ - -#endif diff --git a/sc/source/ui/inc/PivotLayoutTreeListData.hxx b/sc/source/ui/inc/PivotLayoutTreeListData.hxx index bd60a765fba8..54a98365636f 100644 --- a/sc/source/ui/inc/PivotLayoutTreeListData.hxx +++ b/sc/source/ui/inc/PivotLayoutTreeListData.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTDATA_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTDATA_HXX +#pragma once #include "PivotLayoutTreeListBase.hxx" #include <vector> @@ -38,5 +37,3 @@ private: }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ - -#endif diff --git a/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx b/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx index 7c55bc2313b1..d551798e3b0e 100644 --- a/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx +++ b/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTLABEL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTLABEL_HXX +#pragma once #include "PivotLayoutTreeListBase.hxx" #include <vector> @@ -33,5 +32,3 @@ public: }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ - -#endif diff --git a/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx b/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx index d10662cf6281..4fb20954fd09 100644 --- a/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx +++ b/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_RANDOMNUMBERGENERATORDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_RANDOMNUMBERGENERATORDIALOG_HXX +#pragma once #include <sal/config.h> @@ -83,6 +82,4 @@ private: }; -#endif // INCLUDED_SC_SOURCE_UI_INC_RANDOMNUMBERGENERATORDIALOG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/RegressionDialog.hxx b/sc/source/ui/inc/RegressionDialog.hxx index 2d75ae95dbac..7872b2660fc0 100644 --- a/sc/source/ui/inc/RegressionDialog.hxx +++ b/sc/source/ui/inc/RegressionDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_REGRESSIONDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_REGRESSIONDIALOG_HXX +#pragma once #include "StatisticsTwoVariableDialog.hxx" #include "TableFillingAndNavigationTools.hxx" @@ -80,6 +79,4 @@ private: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/SamplingDialog.hxx b/sc/source/ui/inc/SamplingDialog.hxx index a735336d7994..86d207aa2548 100644 --- a/sc/source/ui/inc/SamplingDialog.hxx +++ b/sc/source/ui/inc/SamplingDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SAMPLINGDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SAMPLINGDIALOG_HXX +#pragma once #include <address.hxx> #include "anyrefdg.hxx" @@ -89,6 +88,4 @@ private: void ToggleSamplingMethod(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/StatisticsInputOutputDialog.hxx b/sc/source/ui/inc/StatisticsInputOutputDialog.hxx index b3a03415eadd..6e3a082d84a4 100644 --- a/sc/source/ui/inc/StatisticsInputOutputDialog.hxx +++ b/sc/source/ui/inc/StatisticsInputOutputDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_STATISTICSINPUTOUTPUTDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_STATISTICSINPUTOUTPUTDIALOG_HXX +#pragma once #include <address.hxx> #include "anyrefdg.hxx" @@ -88,6 +87,4 @@ private: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx b/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx index 173a0a9c14ce..875e9a4f29d7 100644 --- a/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx +++ b/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_STATISTICSTWOVARIABLEDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_STATISTICSTWOVARIABLEDIALOG_HXX +#pragma once #include <address.hxx> #include "anyrefdg.hxx" @@ -89,6 +88,4 @@ private: DECL_LINK( RefInputModifyHandler, formula::RefEdit&, void ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/TTestDialog.hxx b/sc/source/ui/inc/TTestDialog.hxx index eb7c74b94f07..1cfa7475c2d1 100644 --- a/sc/source/ui/inc/TTestDialog.hxx +++ b/sc/source/ui/inc/TTestDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TTESTDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TTESTDIALOG_HXX +#pragma once #include "StatisticsTwoVariableDialog.hxx" @@ -29,6 +28,4 @@ protected: virtual ScRange ApplyOutput(ScDocShell* pDocShell) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/TableFillingAndNavigationTools.hxx b/sc/source/ui/inc/TableFillingAndNavigationTools.hxx index a2d04400403f..1ca5c173cac2 100644 --- a/sc/source/ui/inc/TableFillingAndNavigationTools.hxx +++ b/sc/source/ui/inc/TableFillingAndNavigationTools.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TABLEFILLINGANDNAVIGATIONTOOLS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TABLEFILLINGANDNAVIGATIONTOOLS_HXX +#pragma once #include <address.hxx> #include <rangelst.hxx> @@ -158,6 +157,4 @@ public: virtual DataCellIterator iterateCells() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/ZTestDialog.hxx b/sc/source/ui/inc/ZTestDialog.hxx index a2ee9e0e1370..c9b62603ca48 100644 --- a/sc/source/ui/inc/ZTestDialog.hxx +++ b/sc/source/ui/inc/ZTestDialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ZTESTDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ZTESTDIALOG_HXX +#pragma once #include "StatisticsTwoVariableDialog.hxx" @@ -29,6 +28,4 @@ protected: virtual ScRange ApplyOutput(ScDocShell* pDocShell) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/acredlin.hxx b/sc/source/ui/inc/acredlin.hxx index 04f919ecd019..f939b92052e5 100644 --- a/sc/source/ui/inc/acredlin.hxx +++ b/sc/source/ui/inc/acredlin.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ACREDLIN_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ACREDLIN_HXX +#pragma once #include <svx/ctredlin.hxx> #include <sfx2/basedlgs.hxx> @@ -161,6 +160,4 @@ public: virtual void FillInfo(SfxChildWinInfo&) const override; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_ACREDLIN_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx index 30fc15a5b542..0c0e8978a2a7 100644 --- a/sc/source/ui/inc/anyrefdg.hxx +++ b/sc/source/ui/inc/anyrefdg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ANYREFDG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ANYREFDG_HXX +#pragma once #include <sfx2/basedlgs.hxx> #include <address.hxx> @@ -163,6 +162,4 @@ struct ScAnyRefDlgController : ScRefHdlrControllerImpl<SfxModelessDialogControll } }; -#endif // INCLUDED_SC_SOURCE_UI_INC_ANYREFDG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/areasave.hxx b/sc/source/ui/inc/areasave.hxx index a8cf0dbc7961..0679116dc12e 100644 --- a/sc/source/ui/inc/areasave.hxx +++ b/sc/source/ui/inc/areasave.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_AREASAVE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_AREASAVE_HXX +#pragma once #include <address.hxx> #include <tools/solar.h> @@ -69,6 +68,4 @@ public: void push_back(const ScAreaLinkSaver&); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/areasdlg.hxx b/sc/source/ui/inc/areasdlg.hxx index 33d8f89970cd..be4d778d4ec8 100644 --- a/sc/source/ui/inc/areasdlg.hxx +++ b/sc/source/ui/inc/areasdlg.hxx @@ -16,8 +16,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_AREASDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_AREASDLG_HXX +#pragma once #include <address.hxx> @@ -86,6 +85,4 @@ private: DECL_LINK( Impl_GetFocusHdl, weld::Widget&, void ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/asciiopt.hxx b/sc/source/ui/inc/asciiopt.hxx index 708a5b7df4f5..7e438cb1fa98 100644 --- a/sc/source/ui/inc/asciiopt.hxx +++ b/sc/source/ui/inc/asciiopt.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ASCIIOPT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ASCIIOPT_HXX +#pragma once #include <rtl/ustring.hxx> #include <i18nlangtag/lang.h> @@ -103,6 +102,4 @@ enum ScImportAsciiCall { SC_PASTETEXT, // with Paste > Unformatted Text SC_TEXTTOCOLUMNS }; // with Data > Text to Columns -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/attrdlg.hxx b/sc/source/ui/inc/attrdlg.hxx index e80d9dbb30c4..67b9aa25a68b 100644 --- a/sc/source/ui/inc/attrdlg.hxx +++ b/sc/source/ui/inc/attrdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_ATTRDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_ATTRDLG_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -38,6 +37,4 @@ protected: virtual void PageCreated(const OString& rPageId, SfxTabPage& rTabPage) override; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_ATTRDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/auditsh.hxx b/sc/source/ui/inc/auditsh.hxx index 31a36bbdcd38..74a17cccaba0 100644 --- a/sc/source/ui/inc/auditsh.hxx +++ b/sc/source/ui/inc/auditsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_AUDITSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_AUDITSH_HXX +#pragma once #include <sfx2/shell.hxx> @@ -47,6 +46,4 @@ public: void GetState(SfxItemSet& rSet); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/autofmt.hxx b/sc/source/ui/inc/autofmt.hxx index 8757cef47f53..b0bc8b61bad7 100644 --- a/sc/source/ui/inc/autofmt.hxx +++ b/sc/source/ui/inc/autofmt.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_AUTOFMT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_AUTOFMT_HXX +#pragma once #include <svx/framelinkarray.hxx> #include <scdllapi.h> @@ -89,6 +88,4 @@ private: vcl::Font& rFont, vcl::Font& rCJKFont, vcl::Font& rCTLFont); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_AUTOFMT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/autostyl.hxx b/sc/source/ui/inc/autostyl.hxx index 8040373de837..a0c0cd9eb517 100644 --- a/sc/source/ui/inc/autostyl.hxx +++ b/sc/source/ui/inc/autostyl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_AUTOSTYL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_AUTOSTYL_HXX +#pragma once #include <address.hxx> #include <vector> @@ -79,6 +78,4 @@ public: void ExecuteAllNow(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/cbnumberformat.hxx b/sc/source/ui/inc/cbnumberformat.hxx index f558811fecf0..5f2920ab432d 100644 --- a/sc/source/ui/inc/cbnumberformat.hxx +++ b/sc/source/ui/inc/cbnumberformat.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CBNUMBERFORMAT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CBNUMBERFORMAT_HXX +#pragma once #include <vcl/InterimItemWindow.hxx> @@ -40,6 +39,4 @@ private: DECL_LINK(KeyInputHdl, const KeyEvent&, bool); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/cbutton.hxx b/sc/source/ui/inc/cbutton.hxx index 9deae846fdba..5b22c1a83e78 100644 --- a/sc/source/ui/inc/cbutton.hxx +++ b/sc/source/ui/inc/cbutton.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CBUTTON_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CBUTTON_HXX +#pragma once #include <tools/gen.hxx> #include <vcl/vclptr.hxx> @@ -54,6 +53,4 @@ private: Size aBtnSize; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_CBUTTON_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/cellmergeoption.hxx b/sc/source/ui/inc/cellmergeoption.hxx index 937b9079960d..600a5e03dd8a 100644 --- a/sc/source/ui/inc/cellmergeoption.hxx +++ b/sc/source/ui/inc/cellmergeoption.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CELLMERGEOPTION_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CELLMERGEOPTION_HXX +#pragma once #include <address.hxx> @@ -32,6 +31,4 @@ struct ScCellMergeOption ScRange getFirstSingleRange() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/cellsh.hxx b/sc/source/ui/inc/cellsh.hxx index 1c0592057bb3..4d2340033940 100644 --- a/sc/source/ui/inc/cellsh.hxx +++ b/sc/source/ui/inc/cellsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CELLSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CELLSH_HXX +#pragma once #include <sfx2/shell.hxx> #include <shellids.hxx> @@ -110,6 +109,4 @@ public: static void GetStateCursor( SfxItemSet& rSet ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/chartsh.hxx b/sc/source/ui/inc/chartsh.hxx index e13cddf22012..bae02c725248 100644 --- a/sc/source/ui/inc/chartsh.hxx +++ b/sc/source/ui/inc/chartsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CHARTSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CHARTSH_HXX +#pragma once #include <sfx2/shell.hxx> #include <shellids.hxx> @@ -47,6 +46,4 @@ public: void GetExportAsGraphicState(SfxItemSet& rSet); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx index 6f1a7377fdbd..1bdd5b49b18d 100644 --- a/sc/source/ui/inc/checklistmenu.hxx +++ b/sc/source/ui/inc/checklistmenu.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CHECKLISTMENU_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CHECKLISTMENU_HXX +#pragma once #include <vcl/dockwin.hxx> #include <vcl/timer.hxx> @@ -318,6 +317,4 @@ private: std::unique_ptr<ScCheckListMenuControl, o3tl::default_delete<ScCheckListMenuControl>> mxControl; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/client.hxx b/sc/source/ui/inc/client.hxx index 0b2bd9fe98c2..bff5079d1443 100644 --- a/sc/source/ui/inc/client.hxx +++ b/sc/source/ui/inc/client.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CLIENT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CLIENT_HXX +#pragma once #include <sfx2/ipclient.hxx> @@ -42,6 +41,4 @@ public: SdrOle2Obj* GetDrawObj(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/cliputil.hxx b/sc/source/ui/inc/cliputil.hxx index be9c7f1e0d70..022b3586d241 100644 --- a/sc/source/ui/inc/cliputil.hxx +++ b/sc/source/ui/inc/cliputil.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CLIPUTIL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CLIPUTIL_HXX +#pragma once #include <types.hxx> @@ -27,6 +26,4 @@ namespace ScClipUtil const ScRangeList& rDest); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/colorformat.hxx b/sc/source/ui/inc/colorformat.hxx index bf887cc3aaec..051c48de0fa1 100644 --- a/sc/source/ui/inc/colorformat.hxx +++ b/sc/source/ui/inc/colorformat.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX +#pragma once #include <vcl/weld.hxx> #include <svx/colorbox.hxx> @@ -62,6 +61,4 @@ public: ScDataBarFormatData* GetData(); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/colrowba.hxx b/sc/source/ui/inc/colrowba.hxx index dae356f35bbb..536a78dd1d71 100644 --- a/sc/source/ui/inc/colrowba.hxx +++ b/sc/source/ui/inc/colrowba.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_COLROWBA_HXX -#define INCLUDED_SC_SOURCE_UI_INC_COLROWBA_HXX +#pragma once #include "hdrcont.hxx" #include "viewdata.hxx" @@ -88,6 +87,4 @@ public: virtual OUString GetDragHelp( tools::Long nVal ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/condformatdlg.hxx b/sc/source/ui/inc/condformatdlg.hxx index a4997f7bfaaa..51f92750d430 100644 --- a/sc/source/ui/inc/condformatdlg.hxx +++ b/sc/source/ui/inc/condformatdlg.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLG_HXX +#pragma once #include <rangelst.hxx> #include "condformatdlgitem.hxx" @@ -127,6 +126,4 @@ public: DECL_LINK( RangeGetFocusHdl, formula::RefEdit&, void ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/condformatdlgentry.hxx b/sc/source/ui/inc/condformatdlgentry.hxx index aed63be47729..6725ef94c940 100644 --- a/sc/source/ui/inc/condformatdlgentry.hxx +++ b/sc/source/ui/inc/condformatdlgentry.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLGENTRY_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLGENTRY_HXX +#pragma once #include <conditio.hxx> #include <formula/funcutl.hxx> @@ -329,6 +328,4 @@ public: virtual condformat::entry::ScCondFrmtEntryType GetType() override { return condformat::entry::ICONSET; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/condformatdlgitem.hxx b/sc/source/ui/inc/condformatdlgitem.hxx index 1d0ba356382b..b50b1d417c50 100644 --- a/sc/source/ui/inc/condformatdlgitem.hxx +++ b/sc/source/ui/inc/condformatdlgitem.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLGITEM_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLGITEM_HXX +#pragma once #include <svl/poolitem.hxx> @@ -60,6 +59,4 @@ private: bool mbManaged; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/condformathelper.hxx b/sc/source/ui/inc/condformathelper.hxx index 8191c9f18726..9e4a0768dbb4 100644 --- a/sc/source/ui/inc/condformathelper.hxx +++ b/sc/source/ui/inc/condformathelper.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATHELPER_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATHELPER_HXX +#pragma once #include <rtl/ustring.hxx> #include <address.hxx> @@ -34,6 +33,4 @@ public: std::u16string_view aStr1 = std::u16string_view(), std::u16string_view aStr2 = std::u16string_view() ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/condformatmgr.hxx b/sc/source/ui/inc/condformatmgr.hxx index b70b0ffab851..ca9f16e8a55f 100644 --- a/sc/source/ui/inc/condformatmgr.hxx +++ b/sc/source/ui/inc/condformatmgr.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATMGR_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATMGR_HXX +#pragma once #include <vcl/weld.hxx> @@ -64,6 +63,4 @@ private: DECL_LINK(EditBtnHdl, weld::TreeView&, bool); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/condformatuno.hxx b/sc/source/ui/inc/condformatuno.hxx index c342e78e43ea..253aed098eab 100644 --- a/sc/source/ui/inc/condformatuno.hxx +++ b/sc/source/ui/inc/condformatuno.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATUNO_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATUNO_HXX +#pragma once #include <types.hxx> @@ -364,6 +363,4 @@ private: const ScCondDateFormatEntry* mpFormat; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/conflictsdlg.hxx b/sc/source/ui/inc/conflictsdlg.hxx index e8797a90b488..b22fa598c91b 100644 --- a/sc/source/ui/inc/conflictsdlg.hxx +++ b/sc/source/ui/inc/conflictsdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CONFLICTSDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CONFLICTSDLG_HXX +#pragma once #include <vcl/idle.hxx> #include <svx/ctredlin.hxx> @@ -148,6 +147,4 @@ public: void UpdateView(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/consdlg.hxx b/sc/source/ui/inc/consdlg.hxx index 6abcfc85599e..140472cbbaf4 100644 --- a/sc/source/ui/inc/consdlg.hxx +++ b/sc/source/ui/inc/consdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CONSDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CONSDLG_HXX +#pragma once #include <global.hxx> #include "anyrefdg.hxx" @@ -97,6 +96,4 @@ private: static sal_Int32 FuncToLbPos( ScSubTotalFunc eFunc ); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_CONSDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/content.hxx b/sc/source/ui/inc/content.hxx index c14856a89e5f..85da3f44e4f3 100644 --- a/sc/source/ui/inc/content.hxx +++ b/sc/source/ui/inc/content.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CONTENT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CONTENT_HXX +#pragma once #include <vcl/weld.hxx> #include <address.hxx> @@ -158,6 +157,4 @@ public: void StoreNavigatorSettings(); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_CONTENT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/corodlg.hxx b/sc/source/ui/inc/corodlg.hxx index 0c8280e3d34e..68e5fd0f1fd7 100644 --- a/sc/source/ui/inc/corodlg.hxx +++ b/sc/source/ui/inc/corodlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CORODLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CORODLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -43,6 +42,4 @@ private: std::unique_ptr<weld::CheckButton> m_xBtnCol; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/crdlg.hxx b/sc/source/ui/inc/crdlg.hxx index 3aab042061e0..56e16c5c896e 100644 --- a/sc/source/ui/inc/crdlg.hxx +++ b/sc/source/ui/inc/crdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CRDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CRDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -37,6 +36,4 @@ private: DECL_LINK(OkHdl, weld::Button&, void); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/crnrdlg.hxx b/sc/source/ui/inc/crnrdlg.hxx index e54decd7cf41..eaf0d1eb4598 100644 --- a/sc/source/ui/inc/crnrdlg.hxx +++ b/sc/source/ui/inc/crnrdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CRNRDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CRNRDLG_HXX +#pragma once #include "anyrefdg.hxx" #include <rangelst.hxx> @@ -93,6 +92,4 @@ private: DECL_LINK( LoseButtonFocusHdl, formula::RefButton&, void ); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_CRNRDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/csvcontrol.hxx b/sc/source/ui/inc/csvcontrol.hxx index 65a316372f02..8da12e378511 100644 --- a/sc/source/ui/inc/csvcontrol.hxx +++ b/sc/source/ui/inc/csvcontrol.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CSVCONTROL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CSVCONTROL_HXX +#pragma once #include <scdllapi.h> #include <address.hxx> @@ -371,6 +370,4 @@ public: static ScMoveMode GetVertDirection( sal_uInt16 nCode, bool bHomeEnd ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/csvgrid.hxx b/sc/source/ui/inc/csvgrid.hxx index 84a0b6cb8f73..fe5e76092093 100644 --- a/sc/source/ui/inc/csvgrid.hxx +++ b/sc/source/ui/inc/csvgrid.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CSVGRID_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CSVGRID_HXX +#pragma once #include <vcl/virdev.hxx> #include <unotools/options.hxx> @@ -314,6 +313,4 @@ protected: virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/csvruler.hxx b/sc/source/ui/inc/csvruler.hxx index 6d64b3174290..5173f0d20002 100644 --- a/sc/source/ui/inc/csvruler.hxx +++ b/sc/source/ui/inc/csvruler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CSVRULER_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CSVRULER_HXX +#pragma once #include "csvcontrol.hxx" #include "csvsplits.hxx" @@ -179,6 +178,4 @@ protected: virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/csvsplits.hxx b/sc/source/ui/inc/csvsplits.hxx index 4b67f960714f..d10e72cc7941 100644 --- a/sc/source/ui/inc/csvsplits.hxx +++ b/sc/source/ui/inc/csvsplits.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CSVSPLITS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CSVSPLITS_HXX +#pragma once #include <sal/types.h> @@ -79,6 +78,4 @@ private: sal_uInt32 GetIterIndex( const_iterator const & aIter ) const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/csvtablebox.hxx b/sc/source/ui/inc/csvtablebox.hxx index 28c0f362c7b2..e2392a478f4c 100644 --- a/sc/source/ui/inc/csvtablebox.hxx +++ b/sc/source/ui/inc/csvtablebox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_CSVTABLEBOX_HXX -#define INCLUDED_SC_SOURCE_UI_INC_CSVTABLEBOX_HXX +#pragma once #include <vcl/idle.hxx> #include <vcl/weld.hxx> @@ -130,6 +129,4 @@ private: DECL_DLLPRIVATE_LINK( ScrollEndHdl, Timer*, void ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/dapidata.hxx b/sc/source/ui/inc/dapidata.hxx index fbe7cfdc1cf5..ebad1d2e6502 100644 --- a/sc/source/ui/inc/dapidata.hxx +++ b/sc/source/ui/inc/dapidata.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DAPIDATA_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DAPIDATA_HXX +#pragma once #include <vcl/weld.hxx> @@ -42,6 +41,4 @@ public: void GetValues(ScImportSourceDesc& rDesc); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/dapitype.hxx b/sc/source/ui/inc/dapitype.hxx index 8e65db5bae60..bd807a5e01a5 100644 --- a/sc/source/ui/inc/dapitype.hxx +++ b/sc/source/ui/inc/dapitype.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DAPITYPE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DAPITYPE_HXX +#pragma once #include <vcl/weld.hxx> @@ -67,6 +66,4 @@ public: OUString GetParPass() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/datafdlg.hxx b/sc/source/ui/inc/datafdlg.hxx index c7bd3d0b7610..4a05cbf1a1fc 100644 --- a/sc/source/ui/inc/datafdlg.hxx +++ b/sc/source/ui/inc/datafdlg.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DATAFDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DATAFDLG_HXX +#pragma once #include <vcl/weld.hxx> #include <types.hxx> @@ -67,6 +66,5 @@ private: DECL_LINK(Impl_ScrollHdl, weld::ScrolledWindow&, void); DECL_LINK(Impl_DataModifyHdl, weld::Entry&, void); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_DATAFDLG_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/dataprovider.hxx b/sc/source/ui/inc/dataprovider.hxx index a1cd99ecf3bd..87022fc34a7e 100644 --- a/sc/source/ui/inc/dataprovider.hxx +++ b/sc/source/ui/inc/dataprovider.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DATAPROVIDER_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DATAPROVIDER_HXX +#pragma once #include <memory> #include <salhelper/thread.hxx> @@ -146,5 +145,4 @@ public: } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/dataproviderdlg.hxx b/sc/source/ui/inc/dataproviderdlg.hxx index d6fd8d73fc60..d056fa386006 100644 --- a/sc/source/ui/inc/dataproviderdlg.hxx +++ b/sc/source/ui/inc/dataproviderdlg.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DATAPROVIDERDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DATAPROVIDERDLG_HXX +#pragma once #include <sal/config.h> @@ -73,6 +72,4 @@ public: void import(ScDocument& rDoc, bool bInternal = false); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/datastream.hxx b/sc/source/ui/inc/datastream.hxx index 653eb9edc018..790b85a6d743 100644 --- a/sc/source/ui/inc/datastream.hxx +++ b/sc/source/ui/inc/datastream.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DATASTREAM_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DATASTREAM_HXX +#pragma once #include <sal/config.h> @@ -125,6 +124,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/datastreamdlg.hxx b/sc/source/ui/inc/datastreamdlg.hxx index 22d5b19f7305..b2e5a6fbb299 100644 --- a/sc/source/ui/inc/datastreamdlg.hxx +++ b/sc/source/ui/inc/datastreamdlg.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX +#pragma once #include <sal/config.h> @@ -60,6 +59,4 @@ public: }; } -#endif // INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/datatableview.hxx b/sc/source/ui/inc/datatableview.hxx index 57bcde623b82..ec7108f6995f 100644 --- a/sc/source/ui/inc/datatableview.hxx +++ b/sc/source/ui/inc/datatableview.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DATATABLEVIEW_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DATATABLEVIEW_HXX +#pragma once #include <com/sun/star/awt/XWindow.hpp> #include <vcl/ctrl.hxx> @@ -111,6 +110,4 @@ public: void getRowRange(SCROW& rStartRow, SCROW& rEndRow) const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/datatransformation.hxx b/sc/source/ui/inc/datatransformation.hxx index 55055821ab54..d5b19912e328 100644 --- a/sc/source/ui/inc/datatransformation.hxx +++ b/sc/source/ui/inc/datatransformation.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_DATAPROVIDER_DATATRANSFORMATION_HXX -#define INCLUDED_SC_SOURCE_UI_DATAPROVIDER_DATATRANSFORMATION_HXX +#pragma once #include <types.hxx> #include <scdllapi.h> @@ -184,6 +183,4 @@ class SC_DLLPUBLIC DateTimeTransformation : public DataTransformation } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/dbdocfun.hxx b/sc/source/ui/inc/dbdocfun.hxx index 827c7c85ccab..a3ef18cd0cf0 100644 --- a/sc/source/ui/inc/dbdocfun.hxx +++ b/sc/source/ui/inc/dbdocfun.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DBDOCFUN_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DBDOCFUN_HXX +#pragma once #include <address.hxx> #include <vector> @@ -99,6 +98,4 @@ public: void RefreshPivotTableGroups(ScDPObject* pDPObj); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/dbfunc.hxx b/sc/source/ui/inc/dbfunc.hxx index f7cd3d126653..e953f4aefccb 100644 --- a/sc/source/ui/inc/dbfunc.hxx +++ b/sc/source/ui/inc/dbfunc.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DBFUNC_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DBFUNC_HXX +#pragma once #include "viewfunc.hxx" #include <dptypes.hxx> @@ -116,6 +115,4 @@ public: void OnLOKShowHideColRow(bool bColumns, SCCOLROW nStartRow); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/dbnamdlg.hxx b/sc/source/ui/inc/dbnamdlg.hxx index fa7cc13dad4f..01dc0aab66a9 100644 --- a/sc/source/ui/inc/dbnamdlg.hxx +++ b/sc/source/ui/inc/dbnamdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DBNAMDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DBNAMDLG_HXX +#pragma once #include <vector> #include "anyrefdg.hxx" @@ -98,6 +97,4 @@ private: DECL_LINK( AssModifyHdl, formula::RefEdit&, void ); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_DBNAMDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/delcldlg.hxx b/sc/source/ui/inc/delcldlg.hxx index 3a140bfe6dca..4537b3df27d1 100644 --- a/sc/source/ui/inc/delcldlg.hxx +++ b/sc/source/ui/inc/delcldlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DELCLDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DELCLDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -39,6 +38,4 @@ public: DelCellCmd GetDelCellCmd() const; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_DELCLDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/delcodlg.hxx b/sc/source/ui/inc/delcodlg.hxx index b7edc42d5ab1..984f957852bd 100644 --- a/sc/source/ui/inc/delcodlg.hxx +++ b/sc/source/ui/inc/delcodlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DELCODLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DELCODLG_HXX +#pragma once #include <vcl/weld.hxx> #include <global.hxx> @@ -52,6 +51,4 @@ public: InsertDeleteFlags GetDelContentsCmdBits() const; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_DELCODLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx index 96475d4b30d3..43839eb94d21 100644 --- a/sc/source/ui/inc/docfunc.hxx +++ b/sc/source/ui/inc/docfunc.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DOCFUNC_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DOCFUNC_HXX +#pragma once #include <tools/solar.h> #include <global.hxx> @@ -246,6 +245,4 @@ public: void VBA_DeleteModule( ScDocShell& rDocSh, const OUString& sModuleName ); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/docfuncutil.hxx b/sc/source/ui/inc/docfuncutil.hxx index 8d3cec00173b..c0b439d3e9be 100644 --- a/sc/source/ui/inc/docfuncutil.hxx +++ b/sc/source/ui/inc/docfuncutil.hxx @@ -5,8 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_DOCFUNCUTIL_HXX -#define INCLUDED_SC_DOCFUNCUTIL_HXX +#pragma once #include "undobase.hxx" @@ -40,6 +39,4 @@ public: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 6682979adc7d..3a6366699b52 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DOCSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DOCSH_HXX +#pragma once #include <sfx2/objsh.hxx> #include <sfx2/docfac.hxx> @@ -497,6 +496,4 @@ namespace HelperNotifyChanges void VBA_InsertModule( ScDocument& rDoc, SCTAB nTab, const OUString& sModuleSource ); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/dpcontrol.hxx b/sc/source/ui/inc/dpcontrol.hxx index 1b8c380e81fc..2d656006e8d2 100644 --- a/sc/source/ui/inc/dpcontrol.hxx +++ b/sc/source/ui/inc/dpcontrol.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DPCONTROL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DPCONTROL_HXX +#pragma once #include <rtl/ustring.hxx> #include <tools/gen.hxx> @@ -69,6 +68,4 @@ private: bool mbPopupLeft; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/dpgroupdlg.hxx b/sc/source/ui/inc/dpgroupdlg.hxx index 7c7ca994f2cd..79bbe7dccbd3 100644 --- a/sc/source/ui/inc/dpgroupdlg.hxx +++ b/sc/source/ui/inc/dpgroupdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DPGROUPDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DPGROUPDLG_HXX +#pragma once #include <vcl/weld.hxx> #include <dpnumgroupinfo.hxx> @@ -136,6 +135,4 @@ private: ScDPDateGroupEditHelper maEndHelper; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/drawsh.hxx b/sc/source/ui/inc/drawsh.hxx index a85e7ef07dc5..d00752a54c2c 100644 --- a/sc/source/ui/inc/drawsh.hxx +++ b/sc/source/ui/inc/drawsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DRAWSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DRAWSH_HXX +#pragma once #include <sfx2/shell.hxx> #include <shellids.hxx> @@ -94,6 +93,4 @@ public: OUString const & GetSidebarContextName(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/drawutil.hxx b/sc/source/ui/inc/drawutil.hxx index cc921e07aa8f..7a241c4f9201 100644 --- a/sc/source/ui/inc/drawutil.hxx +++ b/sc/source/ui/inc/drawutil.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DRAWUTIL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DRAWUTIL_HXX +#pragma once #include <types.hxx> @@ -36,6 +35,4 @@ public: Fraction& rScaleX, Fraction& rScaleY ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/drawview.hxx b/sc/source/ui/inc/drawview.hxx index db52b1914122..7e0db5eb0a0d 100644 --- a/sc/source/ui/inc/drawview.hxx +++ b/sc/source/ui/inc/drawview.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DRAWVIEW_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DRAWVIEW_HXX +#pragma once #include <svx/fmview.hxx> @@ -177,6 +176,4 @@ public: extern Point aDragStartDiff; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/drformsh.hxx b/sc/source/ui/inc/drformsh.hxx index 0d20d4dbd939..8f2a22cb3dd9 100644 --- a/sc/source/ui/inc/drformsh.hxx +++ b/sc/source/ui/inc/drformsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DRFORMSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DRFORMSH_HXX +#pragma once #include <sfx2/shell.hxx> #include <shellids.hxx> @@ -42,6 +41,4 @@ public: virtual ~ScDrawFormShell() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/drtxtob.hxx b/sc/source/ui/inc/drtxtob.hxx index a5b25e12e692..4690c4625862 100644 --- a/sc/source/ui/inc/drtxtob.hxx +++ b/sc/source/ui/inc/drtxtob.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DRTXTOB_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DRTXTOB_HXX +#pragma once #include <sfx2/shell.hxx> #include <tools/link.hxx> @@ -78,6 +77,4 @@ private: bool IsNoteEdit() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/drwtrans.hxx b/sc/source/ui/inc/drwtrans.hxx index 8854b62546bc..99fdcf0d40a7 100644 --- a/sc/source/ui/inc/drwtrans.hxx +++ b/sc/source/ui/inc/drwtrans.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_DRWTRANS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DRWTRANS_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <vcl/transfer.hxx> @@ -97,6 +96,4 @@ public: const ScRangeListVector& GetProtectedChartRangesVector() const { return m_aProtectedChartRangesVector; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/dwfunctr.hxx b/sc/source/ui/inc/dwfunctr.hxx index 742d15c30a5d..eda067e0b93a 100644 --- a/sc/source/ui/inc/dwfunctr.hxx +++ b/sc/source/ui/inc/dwfunctr.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_SC_SOURCE_UI_INC_DWFUNCTR_HXX -#define INCLUDED_SC_SOURCE_UI_INC_DWFUNCTR_HXX +#pragma once #include <comphelper/configurationlistener.hxx> #include <sfx2/sidebar/PanelLayout.hxx> @@ -74,6 +73,4 @@ public: void UpdateFunctionList(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/editable.hxx b/sc/source/ui/inc/editable.hxx index ea499a7bd27d..e03a1235743a 100644 --- a/sc/source/ui/inc/editable.hxx +++ b/sc/source/ui/inc/editable.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_EDITABLE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_EDITABLE_HXX +#pragma once #include <address.hxx> @@ -86,6 +85,4 @@ public: const char* GetMessageId() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/editfield.hxx b/sc/source/ui/inc/editfield.hxx index ca5bab36f814..103919d1b54f 100644 --- a/sc/source/ui/inc/editfield.hxx +++ b/sc/source/ui/inc/editfield.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_EDITFIELD_HXX -#define INCLUDED_SC_SOURCE_UI_INC_EDITFIELD_HXX +#pragma once #include <vcl/weld.hxx> @@ -41,6 +40,4 @@ public: void set_sensitive(bool bSensitive) { m_xEntry->set_sensitive(bSensitive); } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/editsh.hxx b/sc/source/ui/inc/editsh.hxx index 0a52dc3c02e9..fe56777fbb84 100644 --- a/sc/source/ui/inc/editsh.hxx +++ b/sc/source/ui/inc/editsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_EDITSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_EDITSH_HXX +#pragma once #include <sfx2/shell.hxx> #include <tools/link.hxx> @@ -76,6 +75,4 @@ public: OUString GetSelectionText( bool bWholeWord ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/filldlg.hxx b/sc/source/ui/inc/filldlg.hxx index 6c7688920181..d794ec5b7d53 100644 --- a/sc/source/ui/inc/filldlg.hxx +++ b/sc/source/ui/inc/filldlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FILLDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FILLDLG_HXX +#pragma once #include <vcl/weld.hxx> #include <global.hxx> @@ -99,6 +98,4 @@ private: DECL_LINK(DisableHdl, weld::ToggleButton&, void); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_FILLDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/filtdlg.hxx b/sc/source/ui/inc/filtdlg.hxx index 58853188a5fa..9e157b9190d7 100644 --- a/sc/source/ui/inc/filtdlg.hxx +++ b/sc/source/ui/inc/filtdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FILTDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FILTDLG_HXX +#pragma once #include <address.hxx> #include "anyrefdg.hxx" @@ -234,6 +233,4 @@ private: void RefInputHdl(); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_FILTDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/foptmgr.hxx b/sc/source/ui/inc/foptmgr.hxx index 319ce2421618..c21c766630d6 100644 --- a/sc/source/ui/inc/foptmgr.hxx +++ b/sc/source/ui/inc/foptmgr.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FOPTMGR_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FOPTMGR_HXX +#pragma once #include <vcl/weld.hxx> @@ -82,6 +81,4 @@ private: }; -#endif // INCLUDED_SC_SOURCE_UI_INC_FOPTMGR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/formatsh.hxx b/sc/source/ui/inc/formatsh.hxx index ced5663ee341..193c98e04b4e 100644 --- a/sc/source/ui/inc/formatsh.hxx +++ b/sc/source/ui/inc/formatsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FORMATSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FORMATSH_HXX +#pragma once #include <sfx2/shell.hxx> #include <shellids.hxx> @@ -73,6 +72,4 @@ private: SvNumFormatType GetCurrentNumberFormatType(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/formdata.hxx b/sc/source/ui/inc/formdata.hxx index f7d7dca2ed0c..a2cecbffafe9 100644 --- a/sc/source/ui/inc/formdata.hxx +++ b/sc/source/ui/inc/formdata.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FORMDATA_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FORMDATA_HXX +#pragma once #include <formula/formdata.hxx> class ScInputHandler; @@ -46,6 +45,4 @@ private: ScDocShell* pScDocShell; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_FORMDATA_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/formula.hxx b/sc/source/ui/inc/formula.hxx index 31ea0b41b064..02ee866c1bc9 100644 --- a/sc/source/ui/inc/formula.hxx +++ b/sc/source/ui/inc/formula.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FORMULA_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FORMULA_HXX +#pragma once #include <memory> #include "anyrefdg.hxx" @@ -102,6 +101,4 @@ private: static ScInputHandler* GetNextInputHandler(const ScDocShell* pDocShell, ScTabViewShell** ppViewSh); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_FORMULA_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/fuconarc.hxx b/sc/source/ui/inc/fuconarc.hxx index c538e8f7723a..d1fb31aada2e 100644 --- a/sc/source/ui/inc/fuconarc.hxx +++ b/sc/source/ui/inc/fuconarc.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONARC_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FUCONARC_HXX +#pragma once #include "fuconstr.hxx" @@ -41,6 +40,4 @@ public: virtual SdrObjectUniquePtr CreateDefaultObject(const sal_uInt16 nID, const tools::Rectangle& rRectangle) override; }; -#endif // _SD_FUCONARC_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/fuconcustomshape.hxx b/sc/source/ui/inc/fuconcustomshape.hxx index e39416befff6..89f22d17a5bb 100644 --- a/sc/source/ui/inc/fuconcustomshape.hxx +++ b/sc/source/ui/inc/fuconcustomshape.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONCUSTOMSHAPE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FUCONCUSTOMSHAPE_HXX +#pragma once #include "fuconstr.hxx" @@ -47,6 +46,4 @@ public: virtual bool doConstructOrthogonal() const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/fuconpol.hxx b/sc/source/ui/inc/fuconpol.hxx index ca1fd58637fd..e09225136649 100644 --- a/sc/source/ui/inc/fuconpol.hxx +++ b/sc/source/ui/inc/fuconpol.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONPOL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FUCONPOL_HXX +#pragma once #include "fuconstr.hxx" @@ -42,6 +41,4 @@ public: virtual SdrObjectUniquePtr CreateDefaultObject(const sal_uInt16 nID, const tools::Rectangle& rRectangle) override; }; -#endif // _FUCONPOL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/fuconrec.hxx b/sc/source/ui/inc/fuconrec.hxx index 2d7340a7a4f3..1f3fbb8ee770 100644 --- a/sc/source/ui/inc/fuconrec.hxx +++ b/sc/source/ui/inc/fuconrec.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONREC_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FUCONREC_HXX +#pragma once #include "fuconstr.hxx" @@ -42,6 +41,4 @@ public: virtual SdrObjectUniquePtr CreateDefaultObject(const sal_uInt16 nID, const tools::Rectangle& rRectangle) override; }; -#endif // _SD_FUCONREC_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/fuconstr.hxx b/sc/source/ui/inc/fuconstr.hxx index f5e366b29de7..a9076ee3ead8 100644 --- a/sc/source/ui/inc/fuconstr.hxx +++ b/sc/source/ui/inc/fuconstr.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONSTR_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FUCONSTR_HXX +#pragma once #include "fudraw.hxx" @@ -41,6 +40,4 @@ public: bool SimpleMouseButtonUp(const MouseEvent& rMEvt); }; -#endif // _SD_FUCONSTR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/fuconuno.hxx b/sc/source/ui/inc/fuconuno.hxx index 01d9668de211..1c58d5db3f12 100644 --- a/sc/source/ui/inc/fuconuno.hxx +++ b/sc/source/ui/inc/fuconuno.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONUNO_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FUCONUNO_HXX +#pragma once #include "fuconstr.hxx" @@ -48,6 +47,4 @@ public: virtual SdrObjectUniquePtr CreateDefaultObject(const sal_uInt16 nID, const tools::Rectangle& rRectangle) override; }; -#endif // _SD_FUCONCTL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/fudraw.hxx b/sc/source/ui/inc/fudraw.hxx index 4cc8952af469..0fdd6f9e88f1 100644 --- a/sc/source/ui/inc/fudraw.hxx +++ b/sc/source/ui/inc/fudraw.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FUDRAW_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FUDRAW_HXX +#pragma once #include "fupoor.hxx" @@ -52,6 +51,4 @@ private: void ResetModifiers(); }; -#endif // _SD_FUDRAW_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/fuinsert.hxx b/sc/source/ui/inc/fuinsert.hxx index 45aeb11bab10..3018d66fecd1 100644 --- a/sc/source/ui/inc/fuinsert.hxx +++ b/sc/source/ui/inc/fuinsert.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FUINSERT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FUINSERT_HXX +#pragma once #include "fupoor.hxx" #include <scdllapi.h> @@ -57,6 +56,4 @@ public: void SC_DLLPUBLIC ScLimitSizeOnDrawPage( Size& rSize, Point& rPos, const Size& rPage ); -#endif // _SD_FUINSERT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/fupoor.hxx b/sc/source/ui/inc/fupoor.hxx index d95b4f0d40cf..978a2ca095ed 100644 --- a/sc/source/ui/inc/fupoor.hxx +++ b/sc/source/ui/inc/fupoor.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FUPOOR_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FUPOOR_HXX +#pragma once #include <vcl/timer.hxx> #include <sfx2/request.hxx> @@ -105,6 +104,4 @@ public: virtual bool doConstructOrthogonal() const; }; -#endif // _SD_FUPOOR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/fusel.hxx b/sc/source/ui/inc/fusel.hxx index 70648c7076f8..2326e5ad7d99 100644 --- a/sc/source/ui/inc/fusel.hxx +++ b/sc/source/ui/inc/fusel.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FUSEL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FUSEL_HXX +#pragma once #include "fudraw.hxx" @@ -46,6 +45,4 @@ private: bool IsNoteCaptionClicked( const Point& rPos ) const; }; -#endif // _SD_FUSEL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/futext.hxx b/sc/source/ui/inc/futext.hxx index d6bbdb8f6221..c53a5b38892d 100644 --- a/sc/source/ui/inc/futext.hxx +++ b/sc/source/ui/inc/futext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_FUTEXT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_FUTEXT_HXX +#pragma once #include "fuconstr.hxx" @@ -54,6 +53,4 @@ private: std::unique_ptr<SdrOutliner> MakeOutliner(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/graphsh.hxx b/sc/source/ui/inc/graphsh.hxx index 23c7122c9369..0c2b301c8ea5 100644 --- a/sc/source/ui/inc/graphsh.hxx +++ b/sc/source/ui/inc/graphsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_GRAPHSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_GRAPHSH_HXX +#pragma once #include <memory> #include <vector> @@ -68,6 +67,4 @@ public: void GetChangePictureState(SfxItemSet &rSet); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/gridmerg.hxx b/sc/source/ui/inc/gridmerg.hxx index a05c1bd8a8e8..62e9fdcbee01 100644 --- a/sc/source/ui/inc/gridmerg.hxx +++ b/sc/source/ui/inc/gridmerg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_GRIDMERG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_GRIDMERG_HXX +#pragma once #include <tools/long.hxx> #include <vcl/vclptr.hxx> @@ -50,6 +49,4 @@ public: void Flush(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index 9ce8a8365bf0..950d574a1ec7 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_GRIDWIN_HXX -#define INCLUDED_SC_SOURCE_UI_INC_GRIDWIN_HXX +#pragma once #include <vcl/transfer.hxx> #include "viewutil.hxx" @@ -495,6 +494,4 @@ private: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/groupdlg.hxx b/sc/source/ui/inc/groupdlg.hxx index 6f654d193594..26c3129b3d8d 100644 --- a/sc/source/ui/inc/groupdlg.hxx +++ b/sc/source/ui/inc/groupdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_GROUPDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_GROUPDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -34,6 +33,4 @@ private: std::unique_ptr<weld::RadioButton> m_xBtnCols; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_GROUPDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/hdrcont.hxx b/sc/source/ui/inc/hdrcont.hxx index e30f6e0a3ea5..10a795e2c2c9 100644 --- a/sc/source/ui/inc/hdrcont.hxx +++ b/sc/source/ui/inc/hdrcont.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_HDRCONT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_HDRCONT_HXX +#pragma once #include <vcl/window.hxx> #include <vcl/timer.hxx> @@ -131,6 +130,4 @@ public: void GetMarkRange(SCCOLROW& rStart, SCCOLROW& rEnd) const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/hfedtdlg.hxx b/sc/source/ui/inc/hfedtdlg.hxx index 89afed846746..dba0cf346126 100644 --- a/sc/source/ui/inc/hfedtdlg.hxx +++ b/sc/source/ui/inc/hfedtdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_HFEDTDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_HFEDTDLG_HXX +#pragma once #include <sal/config.h> @@ -108,6 +107,4 @@ public: const SfxItemSet& rCoreSet, std::u16string_view rPageStyle); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_HFEDTDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/highred.hxx b/sc/source/ui/inc/highred.hxx index 1655c8fa9522..563f8f81d2b3 100644 --- a/sc/source/ui/inc/highred.hxx +++ b/sc/source/ui/inc/highred.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_HIGHRED_HXX -#define INCLUDED_SC_SOURCE_UI_INC_HIGHRED_HXX +#pragma once #include "anyrefdg.hxx" @@ -71,6 +70,4 @@ public: }; -#endif // INCLUDED_SC_SOURCE_UI_INC_HIGHRED_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/hiranges.hxx b/sc/source/ui/inc/hiranges.hxx index fe50a37f84ed..9689e3593ec8 100644 --- a/sc/source/ui/inc/hiranges.hxx +++ b/sc/source/ui/inc/hiranges.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_HIRANGES_HXX -#define INCLUDED_SC_SOURCE_UI_INC_HIRANGES_HXX +#pragma once #include <tools/color.hxx> #include <address.hxx> @@ -32,6 +31,4 @@ struct ScHighlightEntry aRef(rR), aColor(rC) {} }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/imoptdlg.hxx b/sc/source/ui/inc/imoptdlg.hxx index bac941c2a377..c162da6d7740 100644 --- a/sc/source/ui/inc/imoptdlg.hxx +++ b/sc/source/ui/inc/imoptdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_IMOPTDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_IMOPTDLG_HXX +#pragma once #include <rtl/textenc.h> #include <rtl/ustring.hxx> @@ -53,6 +52,4 @@ public: bool bRemoveSpace; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_IMOPTDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/impex.hxx b/sc/source/ui/inc/impex.hxx index 3918ba86afb6..b334755ca011 100644 --- a/sc/source/ui/inc/impex.hxx +++ b/sc/source/ui/inc/impex.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_IMPEX_HXX -#define INCLUDED_SC_SOURCE_UI_INC_IMPEX_HXX +#pragma once #include <o3tl/deleter.hxx> #include <sot/formats.hxx> @@ -225,6 +224,4 @@ public: SC_DLLPUBLIC OUString ReadCsvLine( SvStream &rStream, bool bEmbeddedLineBreak, OUString& rFieldSeparators, sal_Unicode cFieldQuote, sal_Unicode& rcDetectSep ); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx index ddd3f4f49e8b..aabac21240a0 100644 --- a/sc/source/ui/inc/inputhdl.hxx +++ b/sc/source/ui/inc/inputhdl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_INPUTHDL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_INPUTHDL_HXX +#pragma once #include <global.hxx> #include <address.hxx> @@ -327,6 +326,4 @@ private: std::unique_ptr<EditTextObject> pEditData; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/inputwin.hxx b/sc/source/ui/inc/inputwin.hxx index 382c31b0efb0..aadad8bbf71f 100644 --- a/sc/source/ui/inc/inputwin.hxx +++ b/sc/source/ui/inc/inputwin.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_INPUTWIN_HXX -#define INCLUDED_SC_SOURCE_UI_INC_INPUTWIN_HXX +#pragma once #include <vector> #include <memory> @@ -359,6 +358,4 @@ public: SFX_DECL_CHILDWINDOW_WITHID(ScInputWindowWrapper); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/inscldlg.hxx b/sc/source/ui/inc/inscldlg.hxx index 84f978f7cb9a..b44bfb60baa9 100644 --- a/sc/source/ui/inc/inscldlg.hxx +++ b/sc/source/ui/inc/inscldlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_INSCLDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_INSCLDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -39,6 +38,4 @@ public: InsCellCmd GetInsCellCmd() const; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_INSCLDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/inscodlg.hxx b/sc/source/ui/inc/inscodlg.hxx index 7cb2ce637f34..7c7992c99c73 100644 --- a/sc/source/ui/inc/inscodlg.hxx +++ b/sc/source/ui/inc/inscodlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_INSCODLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_INSCODLG_HXX +#pragma once #include <vcl/weld.hxx> #include <global.hxx> @@ -101,6 +100,4 @@ private: DECL_LINK( ShortCutHdl, weld::Button&, void ); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_INSCODLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/instbdlg.hxx b/sc/source/ui/inc/instbdlg.hxx index bb57c66c1d1c..3bc578717296 100644 --- a/sc/source/ui/inc/instbdlg.hxx +++ b/sc/source/ui/inc/instbdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_INSTBDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_INSTBDLG_HXX +#pragma once #include <sfx2/objsh.hxx> #include <vcl/timer.hxx> @@ -92,6 +91,4 @@ private: DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper*, void ); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_INSTBDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/invmerge.hxx b/sc/source/ui/inc/invmerge.hxx index 695261434ec5..54dd8c160e28 100644 --- a/sc/source/ui/inc/invmerge.hxx +++ b/sc/source/ui/inc/invmerge.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_INVMERGE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_INVMERGE_HXX +#pragma once #include <tools/gen.hxx> @@ -42,6 +41,4 @@ public: void Flush(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/lbseldlg.hxx b/sc/source/ui/inc/lbseldlg.hxx index 84699d555760..cf313c06bd71 100644 --- a/sc/source/ui/inc/lbseldlg.hxx +++ b/sc/source/ui/inc/lbseldlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_LBSELDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_LBSELDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -36,6 +35,4 @@ public: OUString GetSelectedEntry() const; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_LBSELDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/linkarea.hxx b/sc/source/ui/inc/linkarea.hxx index 9d039a47daac..16af8aff4dd7 100644 --- a/sc/source/ui/inc/linkarea.hxx +++ b/sc/source/ui/inc/linkarea.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_LINKAREA_HXX -#define INCLUDED_SC_SOURCE_UI_INC_LINKAREA_HXX +#pragma once #include <sfx2/objsh.hxx> #include <tools/solar.h> @@ -71,6 +70,4 @@ public: sal_uLong GetRefresh() const; // 0 if disabled }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/lnktrans.hxx b/sc/source/ui/inc/lnktrans.hxx index 208bfaa671cf..2ef5469074e0 100644 --- a/sc/source/ui/inc/lnktrans.hxx +++ b/sc/source/ui/inc/lnktrans.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_LNKTRANS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_LNKTRANS_HXX +#pragma once #include <vcl/transfer.hxx> #include <rtl/ustring.hxx> @@ -40,6 +39,4 @@ public: virtual void DragFinished( sal_Int8 nDropAction ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/mediash.hxx b/sc/source/ui/inc/mediash.hxx index 31c55ef4c12b..fb75f303ec82 100644 --- a/sc/source/ui/inc/mediash.hxx +++ b/sc/source/ui/inc/mediash.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_MEDIASH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_MEDIASH_HXX +#pragma once #include <sfx2/shell.hxx> #include <shellids.hxx> @@ -45,6 +44,4 @@ public: void GetMediaState(SfxItemSet& rSet); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/mergecellsdialog.hxx b/sc/source/ui/inc/mergecellsdialog.hxx index 6dde67680e78..33370d793dea 100644 --- a/sc/source/ui/inc/mergecellsdialog.hxx +++ b/sc/source/ui/inc/mergecellsdialog.hxx @@ -8,8 +8,7 @@ * */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_MERGECELLSDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_MERGECELLSDIALOG_HXX +#pragma once #include <vcl/weld.hxx> @@ -33,6 +32,4 @@ public: ScMergeCellsOption GetMergeCellsOption() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/msgpool.hxx b/sc/source/ui/inc/msgpool.hxx index d5f68b217bd0..fc23503cf3f0 100644 --- a/sc/source/ui/inc/msgpool.hxx +++ b/sc/source/ui/inc/msgpool.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_MSGPOOL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_MSGPOOL_HXX +#pragma once #include <svl/srchitem.hxx> @@ -55,6 +54,4 @@ public: virtual MapUnit GetMetric( sal_uInt16 nWhich ) const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/mtrindlg.hxx b/sc/source/ui/inc/mtrindlg.hxx index 55596d85c4fe..d140f9f3a02c 100644 --- a/sc/source/ui/inc/mtrindlg.hxx +++ b/sc/source/ui/inc/mtrindlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_MTRINDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_MTRINDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -47,6 +46,4 @@ private: DECL_LINK(ModifyHdl, weld::MetricSpinButton&, void); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_MTRINDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/mvtabdlg.hxx b/sc/source/ui/inc/mvtabdlg.hxx index bd372005408a..00ed09204487 100644 --- a/sc/source/ui/inc/mvtabdlg.hxx +++ b/sc/source/ui/inc/mvtabdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_MVTABDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_MVTABDLG_HXX +#pragma once #include <types.hxx> #include <vcl/weld.hxx> @@ -81,6 +80,4 @@ private: DECL_LINK(CheckNameHdl, weld::Entry&, void); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_MVTABDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/namecrea.hxx b/sc/source/ui/inc/namecrea.hxx index c5d6d8892924..89adb821677c 100644 --- a/sc/source/ui/inc/namecrea.hxx +++ b/sc/source/ui/inc/namecrea.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_NAMECREA_HXX -#define INCLUDED_SC_SOURCE_UI_INC_NAMECREA_HXX +#pragma once #include <vcl/weld.hxx> #include "scui_def.hxx" @@ -36,6 +35,4 @@ public: CreateNameFlags GetFlags() const; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_NAMECREA_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/namedefdlg.hxx b/sc/source/ui/inc/namedefdlg.hxx index 3c39ad2d3d86..f1ff30b609fd 100644 --- a/sc/source/ui/inc/namedefdlg.hxx +++ b/sc/source/ui/inc/namedefdlg.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_NAMEDEFDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_NAMEDEFDLG_HXX +#pragma once #include "anyrefdg.hxx" @@ -87,6 +86,4 @@ public: void GetNewData(OUString& rName, OUString& rScope); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/namedlg.hxx b/sc/source/ui/inc/namedlg.hxx index f85ee09bc39f..484500dcef4f 100644 --- a/sc/source/ui/inc/namedlg.hxx +++ b/sc/source/ui/inc/namedlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_NAMEDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_NAMEDLG_HXX +#pragma once #include "anyrefdg.hxx" #include "namemgrtable.hxx" @@ -122,6 +121,4 @@ public: void SetEntry(const OUString& rName, const OUString& rScope); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_NAMEDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx index d092f7d18cf7..684d7f2839de 100644 --- a/sc/source/ui/inc/namemgrtable.hxx +++ b/sc/source/ui/inc/namemgrtable.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_NAMEMGRTABLE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_NAMEMGRTABLE_HXX +#pragma once #include <vcl/weld.hxx> @@ -89,6 +88,4 @@ public: } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/namepast.hxx b/sc/source/ui/inc/namepast.hxx index cc54ed26e5d0..79947bbcd78c 100644 --- a/sc/source/ui/inc/namepast.hxx +++ b/sc/source/ui/inc/namepast.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_NAMEPAST_HXX -#define INCLUDED_SC_SOURCE_UI_INC_NAMEPAST_HXX +#pragma once #include <vcl/weld.hxx> #include "namemgrtable.hxx" @@ -51,6 +50,4 @@ public: const std::vector<OUString>& GetSelectedNames() const; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_NAMEPAST_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/navcitem.hxx b/sc/source/ui/inc/navcitem.hxx index e3b2fe9b639c..1ae445fb5bc8 100644 --- a/sc/source/ui/inc/navcitem.hxx +++ b/sc/source/ui/inc/navcitem.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_NAVCITEM_HXX -#define INCLUDED_SC_SOURCE_UI_INC_NAVCITEM_HXX +#pragma once #include <sfx2/ctrlitem.hxx> @@ -38,6 +37,4 @@ private: ScNavigatorDlg& rNavigatorDlg; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_NAVCITEM_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx index 1229f812a59d..288fdf519a90 100644 --- a/sc/source/ui/inc/navipi.hxx +++ b/sc/source/ui/inc/navipi.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_NAVIPI_HXX -#define INCLUDED_SC_SOURCE_UI_INC_NAVIPI_HXX +#pragma once #include <vector> #include <vcl/idle.hxx> @@ -191,6 +190,4 @@ public: SFX_DECL_CHILDWINDOW(ScNavigatorWrapper); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_NAVIPI_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/navsett.hxx b/sc/source/ui/inc/navsett.hxx index 9dbf8422a34b..c77bf259f68a 100644 --- a/sc/source/ui/inc/navsett.hxx +++ b/sc/source/ui/inc/navsett.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_NAVSETT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_NAVSETT_HXX +#pragma once #include <tools/solar.h> @@ -47,6 +46,4 @@ public: sal_uLong GetChildSelected() const { return mnChildSelected; } }; -#endif // INCLUDED_SC_SOURCE_UI_INC_NAVSETT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/notemark.hxx b/sc/source/ui/inc/notemark.hxx index 11297e42a6f9..1ed812d0fb82 100644 --- a/sc/source/ui/inc/notemark.hxx +++ b/sc/source/ui/inc/notemark.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_NOTEMARK_HXX -#define INCLUDED_SC_SOURCE_UI_INC_NOTEMARK_HXX +#pragma once #include <vcl/mapmod.hxx> #include <vcl/timer.hxx> @@ -67,6 +66,4 @@ public: bool IsByKeyboard() const { return m_bByKeyboard; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/oleobjsh.hxx b/sc/source/ui/inc/oleobjsh.hxx index cba751da6bce..2fbb656f62e2 100644 --- a/sc/source/ui/inc/oleobjsh.hxx +++ b/sc/source/ui/inc/oleobjsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_OLEOBJSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_OLEOBJSH_HXX +#pragma once #include <sfx2/shell.hxx> #include <shellids.hxx> @@ -42,6 +41,4 @@ public: virtual ~ScOleObjectShell() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/olinefun.hxx b/sc/source/ui/inc/olinefun.hxx index e29f7df4cbb3..ec167a8e4c52 100644 --- a/sc/source/ui/inc/olinefun.hxx +++ b/sc/source/ui/inc/olinefun.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_OLINEFUN_HXX -#define INCLUDED_SC_SOURCE_UI_INC_OLINEFUN_HXX +#pragma once #include <types.hxx> @@ -50,6 +49,4 @@ public: bool bRecord, bool bPaint ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/olinewin.hxx b/sc/source/ui/inc/olinewin.hxx index 9a56152ed6cd..7f99ae662436 100644 --- a/sc/source/ui/inc/olinewin.hxx +++ b/sc/source/ui/inc/olinewin.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_OLINEWIN_HXX -#define INCLUDED_SC_SOURCE_UI_INC_OLINEWIN_HXX +#pragma once #include <vcl/window.hxx> #include "viewdata.hxx" @@ -223,6 +222,4 @@ public: virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/opredlin.hxx b/sc/source/ui/inc/opredlin.hxx index 47abb2071901..e26591e87c10 100644 --- a/sc/source/ui/inc/opredlin.hxx +++ b/sc/source/ui/inc/opredlin.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_SC_SOURCE_UI_INC_OPREDLIN_HXX -#define INCLUDED_SC_SOURCE_UI_INC_OPREDLIN_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -38,6 +37,5 @@ public: virtual bool FillItemSet( SfxItemSet* rSet ) override; virtual void Reset( const SfxItemSet* rSet ) override; }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/optsolver.hxx b/sc/source/ui/inc/optsolver.hxx index 892c68869b0e..d8f3910edca2 100644 --- a/sc/source/ui/inc/optsolver.hxx +++ b/sc/source/ui/inc/optsolver.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_OPTSOLVER_HXX -#define INCLUDED_SC_SOURCE_UI_INC_OPTSOLVER_HXX +#pragma once #include <address.hxx> #include "anyrefdg.hxx" @@ -244,6 +243,4 @@ public: virtual ~ScSolverSuccessDialog() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx index f278d257552f..e45fe29e14ac 100644 --- a/sc/source/ui/inc/output.hxx +++ b/sc/source/ui/inc/output.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_OUTPUT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_OUTPUT_HXX +#pragma once #include <address.hxx> #include <cellvalue.hxx> @@ -384,6 +383,4 @@ public: void AddPDFNotes(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/overlayobject.hxx b/sc/source/ui/inc/overlayobject.hxx index d0f33f0107f8..ea7a4adf3aba 100644 --- a/sc/source/ui/inc/overlayobject.hxx +++ b/sc/source/ui/inc/overlayobject.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_OVERLAYOBJECT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_OVERLAYOBJECT_HXX +#pragma once #include <svx/sdr/overlay/overlayobject.hxx> #include <vcl/font.hxx> @@ -63,6 +62,4 @@ private: sal_Int32 m_nTop; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/pagedata.hxx b/sc/source/ui/inc/pagedata.hxx index 14405f0c00e2..265a85743219 100644 --- a/sc/source/ui/inc/pagedata.hxx +++ b/sc/source/ui/inc/pagedata.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PAGEDATA_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PAGEDATA_HXX +#pragma once #include <tools/long.hxx> #include <address.hxx> @@ -79,6 +78,4 @@ public: void AddPages(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/pfiltdlg.hxx b/sc/source/ui/inc/pfiltdlg.hxx index f58b4d84399b..00d5833628df 100644 --- a/sc/source/ui/inc/pfiltdlg.hxx +++ b/sc/source/ui/inc/pfiltdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PFILTDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PFILTDLG_HXX +#pragma once #include <vcl/weld.hxx> #include <address.hxx> @@ -91,6 +90,4 @@ private: DECL_LINK( CheckBoxHdl, weld::Button&, void ); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_PFILTDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/pfuncache.hxx b/sc/source/ui/inc/pfuncache.hxx index 7ae640834dda..902ea7ade517 100644 --- a/sc/source/ui/inc/pfuncache.hxx +++ b/sc/source/ui/inc/pfuncache.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PFUNCACHE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PFUNCACHE_HXX +#pragma once #include <vector> #include <tools/gen.hxx> @@ -109,6 +108,4 @@ public: tools::Long GetDisplayStart( SCTAB nTab ) const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/pgbrksh.hxx b/sc/source/ui/inc/pgbrksh.hxx index dcda667edf9a..7b00f315bcb2 100644 --- a/sc/source/ui/inc/pgbrksh.hxx +++ b/sc/source/ui/inc/pgbrksh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PGBRKSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PGBRKSH_HXX +#pragma once #include <sfx2/shell.hxx> @@ -41,6 +40,4 @@ public: virtual ~ScPageBreakShell() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/pivotsh.hxx b/sc/source/ui/inc/pivotsh.hxx index af290d801c00..d69b80ee43e7 100644 --- a/sc/source/ui/inc/pivotsh.hxx +++ b/sc/source/ui/inc/pivotsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PIVOTSH_HXX +#pragma once #include <sfx2/shell.hxx> @@ -50,6 +49,4 @@ private: ScDPObject* GetCurrDPObject(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/pntlock.hxx b/sc/source/ui/inc/pntlock.hxx index 5ae3734c19f3..a6c569e4924f 100644 --- a/sc/source/ui/inc/pntlock.hxx +++ b/sc/source/ui/inc/pntlock.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PNTLOCK_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PNTLOCK_HXX +#pragma once #include <rangelst.hxx> @@ -54,6 +53,4 @@ public: { nDocLevel = nNew; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/preview.hxx b/sc/source/ui/inc/preview.hxx index 3f06121f31f1..bf93b7069d73 100644 --- a/sc/source/ui/inc/preview.hxx +++ b/sc/source/ui/inc/preview.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_SC_SOURCE_UI_INC_PREVIEW_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PREVIEW_HXX +#pragma once #include <vcl/window.hxx> #include "printfun.hxx" @@ -161,6 +160,4 @@ public: const ScMarkData::MarkedTabsType& GetSelectedTabs() const { return maSelectedTabs; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/prevloc.hxx b/sc/source/ui/inc/prevloc.hxx index 5aa803364f64..17a7353b7bb1 100644 --- a/sc/source/ui/inc/prevloc.hxx +++ b/sc/source/ui/inc/prevloc.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PREVLOC_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PREVLOC_HXX +#pragma once #include <sal/types.h> @@ -150,6 +149,4 @@ public: bool GetMainCellRange( ScRange& rRange, tools::Rectangle& rPixRect ) const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/prevwsh.hxx b/sc/source/ui/inc/prevwsh.hxx index 3dfee355c3ca..14d8dc789274 100644 --- a/sc/source/ui/inc/prevwsh.hxx +++ b/sc/source/ui/inc/prevwsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PREVWSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PREVWSH_HXX +#pragma once #include <types.hxx> #include <scdllapi.h> @@ -116,6 +115,4 @@ public: ScPreview* GetPreview() { return pPreview; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/printfun.hxx b/sc/source/ui/inc/printfun.hxx index f59804ebaede..4cb4fbe8077f 100644 --- a/sc/source/ui/inc/printfun.hxx +++ b/sc/source/ui/inc/printfun.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PRINTFUN_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PRINTFUN_HXX +#pragma once #include <memory> #include <pagepar.hxx> @@ -392,6 +391,4 @@ private: void FillPageData(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/protectiondlg.hxx b/sc/source/ui/inc/protectiondlg.hxx index 96bdf5853b3f..08902610ec37 100644 --- a/sc/source/ui/inc/protectiondlg.hxx +++ b/sc/source/ui/inc/protectiondlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PROTECTIONDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PROTECTIONDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -68,6 +67,4 @@ private: DECL_LINK(PasswordModifyHdl, weld::Entry&, void); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/pvfundlg.hxx b/sc/source/ui/inc/pvfundlg.hxx index 6f093809660c..1215adc89b36 100644 --- a/sc/source/ui/inc/pvfundlg.hxx +++ b/sc/source/ui/inc/pvfundlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_PVFUNDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_PVFUNDLG_HXX +#pragma once #include <com/sun/star/sheet/DataPilotFieldReference.hpp> #include <com/sun/star/sheet/DataPilotFieldOrientation.hpp> @@ -213,6 +212,4 @@ private: std::unique_ptr<weld::TreeView> mxLbDims; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/redcom.hxx b/sc/source/ui/inc/redcom.hxx index 2164af873583..893b8cf1a362 100644 --- a/sc/source/ui/inc/redcom.hxx +++ b/sc/source/ui/inc/redcom.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_REDCOM_HXX -#define INCLUDED_SC_SOURCE_UI_INC_REDCOM_HXX +#pragma once #include <rtl/ustring.hxx> #include <tools/link.hxx> @@ -55,6 +54,4 @@ public: void Execute(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/reffact.hxx b/sc/source/ui/inc/reffact.hxx index f30cdf73c077..c1b73606eb7f 100644 --- a/sc/source/ui/inc/reffact.hxx +++ b/sc/source/ui/inc/reffact.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_REFFACT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_REFFACT_HXX +#pragma once #include <sfx2/childwin.hxx> #include "ChildWindowWrapper.hxx" @@ -195,6 +194,4 @@ public: void Show( ShowFlags nFlags ) override { if( !m_bVisibleLock ) SfxChildWindow::Show( nFlags ); } }; -#endif // INCLUDED_SC_SOURCE_UI_INC_REFFACT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/refundo.hxx b/sc/source/ui/inc/refundo.hxx index 7ee764eca39a..2ddf6c584ba1 100644 --- a/sc/source/ui/inc/refundo.hxx +++ b/sc/source/ui/inc/refundo.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_REFUNDO_HXX -#define INCLUDED_SC_SOURCE_UI_INC_REFUNDO_HXX +#pragma once #include <memory> @@ -52,6 +51,4 @@ public: void DoUndo( ScDocument* pDoc, bool bUndoRefFirst ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/retypepassdlg.hxx b/sc/source/ui/inc/retypepassdlg.hxx index 26c57148c88b..aa06167be2f7 100644 --- a/sc/source/ui/inc/retypepassdlg.hxx +++ b/sc/source/ui/inc/retypepassdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_RETYPEPASSDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_RETYPEPASSDLG_HXX +#pragma once #include <vcl/weld.hxx> #include <tabprotection.hxx> @@ -126,6 +125,4 @@ private: DECL_LINK(PasswordModifyHdl, weld::Entry&, void); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/rfindlst.hxx b/sc/source/ui/inc/rfindlst.hxx index e6f04e07c39b..bd8f6cff10eb 100644 --- a/sc/source/ui/inc/rfindlst.hxx +++ b/sc/source/ui/inc/rfindlst.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_RFINDLST_HXX -#define INCLUDED_SC_SOURCE_UI_INC_RFINDLST_HXX +#pragma once #include <tools/color.hxx> #include <address.hxx> @@ -62,6 +61,4 @@ public: Color FindColor(const ScRange& rRef, const size_t nIndex); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/scendlg.hxx b/sc/source/ui/inc/scendlg.hxx index 97cc05e7bd5d..d094474c926f 100644 --- a/sc/source/ui/inc/scendlg.hxx +++ b/sc/source/ui/inc/scendlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SCENDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SCENDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -56,6 +55,4 @@ private: DECL_LINK(EnableHdl, weld::ToggleButton&, void); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_SCENDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/scui_def.hxx b/sc/source/ui/inc/scui_def.hxx index c2bc095b8162..af4252ba4abe 100644 --- a/sc/source/ui/inc/scui_def.hxx +++ b/sc/source/ui/inc/scui_def.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SCUI_DEF_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SCUI_DEF_HXX +#pragma once #include <o3tl/typed_flags_set.hxx> @@ -66,6 +65,5 @@ namespace o3tl { #define BTN_EXTEND_RANGE 150 #define BTN_CURRENT_SELECTION 151 #define SCRET_REMOVE 0x42 //from subtdlg.hxx -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/scuiasciiopt.hxx b/sc/source/ui/inc/scuiasciiopt.hxx index 51cf2ec06a17..cde26d7df023 100644 --- a/sc/source/ui/inc/scuiasciiopt.hxx +++ b/sc/source/ui/inc/scuiasciiopt.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SCUIASCIIOPT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SCUIASCIIOPT_HXX +#pragma once #include <svx/langbox.hxx> #include <tools/solar.h> @@ -129,6 +128,4 @@ inline bool ScImportAsciiDlg::Seek(sal_uLong nPos) return bSuccess; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/scuiautofmt.hxx b/sc/source/ui/inc/scuiautofmt.hxx index 1695a79b0424..2ccbffc851ea 100644 --- a/sc/source/ui/inc/scuiautofmt.hxx +++ b/sc/source/ui/inc/scuiautofmt.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_SC_SOURCE_UI_INC_SCUIAUTOFMT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SCUIAUTOFMT_HXX +#pragma once #include <vcl/customweld.hxx> #include <autoform.hxx> @@ -75,6 +74,5 @@ private: DECL_LINK( RenameHdl, weld::Button&, void ); }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/scuiimoptdlg.hxx b/sc/source/ui/inc/scuiimoptdlg.hxx index 27d0db36b454..b7e4f8e86baa 100644 --- a/sc/source/ui/inc/scuiimoptdlg.hxx +++ b/sc/source/ui/inc/scuiimoptdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SCUIIMOPTDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SCUIIMOPTDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -73,6 +72,4 @@ private: DECL_LINK(DoubleClickHdl, weld::TreeView&, bool); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/scuitphfedit.hxx b/sc/source/ui/inc/scuitphfedit.hxx index 940879fb293c..6b06b27ff509 100644 --- a/sc/source/ui/inc/scuitphfedit.hxx +++ b/sc/source/ui/inc/scuitphfedit.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SCUITPHFEDIT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SCUITPHFEDIT_HXX +#pragma once #include "tphfedit.hxx" #include <sfx2/tabdlg.hxx> @@ -142,6 +141,4 @@ public: ScLeftFooterEditPage( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/searchresults.hxx b/sc/source/ui/inc/searchresults.hxx index 63da68d77466..a6992c025fc0 100644 --- a/sc/source/ui/inc/searchresults.hxx +++ b/sc/source/ui/inc/searchresults.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SEARCHRESULTS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SEARCHRESULTS_HXX +#pragma once #include <vcl/weld.hxx> #include <sfx2/basedlgs.hxx> @@ -55,6 +54,4 @@ public: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/select.hxx b/sc/source/ui/inc/select.hxx index 55b1572aaa35..ea3082f972c6 100644 --- a/sc/source/ui/inc/select.hxx +++ b/sc/source/ui/inc/select.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SELECT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SELECT_HXX +#pragma once #include <vcl/seleng.hxx> @@ -106,6 +105,4 @@ public: ScHeaderSelectionEngine( vcl::Window* pWindow, ScHeaderFunctionSet* pFuncSet ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/selectionstate.hxx b/sc/source/ui/inc/selectionstate.hxx index 0d7505260227..4243e618e0e6 100644 --- a/sc/source/ui/inc/selectionstate.hxx +++ b/sc/source/ui/inc/selectionstate.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SELECTIONSTATE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SELECTIONSTATE_HXX +#pragma once #include <editeng/editdata.hxx> #include <address.hxx> @@ -53,6 +52,4 @@ private: ESelection maEditSel; /// Selection in edit mode. }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/seltrans.hxx b/sc/source/ui/inc/seltrans.hxx index 108a0dab2f35..f783e58fa5d9 100644 --- a/sc/source/ui/inc/seltrans.hxx +++ b/sc/source/ui/inc/seltrans.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SELTRANS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SELTRANS_HXX +#pragma once #include <vcl/transfer.hxx> #include <rtl/ref.hxx> @@ -70,6 +69,4 @@ public: virtual sal_Bool SAL_CALL isComplex() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/servobj.hxx b/sc/source/ui/inc/servobj.hxx index d6b664e1c3a0..2bb36aa6d976 100644 --- a/sc/source/ui/inc/servobj.hxx +++ b/sc/source/ui/inc/servobj.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SERVOBJ_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SERVOBJ_HXX +#pragma once #include <svl/lstner.hxx> #include <svl/listener.hxx> @@ -62,6 +61,4 @@ public: void EndListeningAll(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/sharedocdlg.hxx b/sc/source/ui/inc/sharedocdlg.hxx index a8f6d1a07283..fb4258a7a150 100644 --- a/sc/source/ui/inc/sharedocdlg.hxx +++ b/sc/source/ui/inc/sharedocdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SHAREDOCDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SHAREDOCDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -50,6 +49,4 @@ public: void UpdateView(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/shtabdlg.hxx b/sc/source/ui/inc/shtabdlg.hxx index 3355f143dc8e..9a1bb23edb05 100644 --- a/sc/source/ui/inc/shtabdlg.hxx +++ b/sc/source/ui/inc/shtabdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SHTABDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SHTABDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -45,6 +44,4 @@ public: OUString GetEntry(sal_Int32 nPos) const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/simpref.hxx b/sc/source/ui/inc/simpref.hxx index ce62242f6de2..0286aa6cf06b 100644 --- a/sc/source/ui/inc/simpref.hxx +++ b/sc/source/ui/inc/simpref.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX +#pragma once #include "anyrefdg.hxx" @@ -76,6 +75,4 @@ public: void SetFlags( bool bSetCloseOnButtonUp, bool bSetSingleCell, bool bSetMultiSelection ); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/sizedev.hxx b/sc/source/ui/inc/sizedev.hxx index 93255e62da68..8bf98be8ef0e 100644 --- a/sc/source/ui/inc/sizedev.hxx +++ b/sc/source/ui/inc/sizedev.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SIZEDEV_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SIZEDEV_HXX +#pragma once #include <vcl/mapmod.hxx> #include <vcl/vclptr.hxx> @@ -44,6 +43,4 @@ public: bool IsPrinter() const { return !bOwner; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/solveroptions.hxx b/sc/source/ui/inc/solveroptions.hxx index 56f450836836..5e39ef758a4c 100644 --- a/sc/source/ui/inc/solveroptions.hxx +++ b/sc/source/ui/inc/solveroptions.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SOLVEROPTIONS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SOLVEROPTIONS_HXX +#pragma once #include <vcl/weld.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -123,6 +122,4 @@ public: double GetValue() const; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/solverutil.hxx b/sc/source/ui/inc/solverutil.hxx index add2b2337e08..34cdbb51aa29 100644 --- a/sc/source/ui/inc/solverutil.hxx +++ b/sc/source/ui/inc/solverutil.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SOLVERUTIL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SOLVERUTIL_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -37,6 +36,4 @@ public: static css::uno::Sequence<css::beans::PropertyValue> GetDefaults( std::u16string_view rImplName ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/solvrdlg.hxx b/sc/source/ui/inc/solvrdlg.hxx index 66a031fbd041..8b5026ba2c5b 100644 --- a/sc/source/ui/inc/solvrdlg.hxx +++ b/sc/source/ui/inc/solvrdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SOLVRDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SOLVRDLG_HXX +#pragma once #include <address.hxx> #include "anyrefdg.hxx" @@ -88,6 +87,4 @@ private: DECL_LINK( GetFocusHdl, weld::Widget&, void ); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_SOLVRDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/sortdlg.hxx b/sc/source/ui/inc/sortdlg.hxx index a68e81e34241..ae58ef310df2 100644 --- a/sc/source/ui/inc/sortdlg.hxx +++ b/sc/source/ui/inc/sortdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SORTDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SORTDLG_HXX +#pragma once #include <sfx2/tabdlg.hxx> #include <vcl/weld.hxx> @@ -50,6 +49,4 @@ private: std::unique_ptr<weld::Button> m_xBtnCurSort; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_SORTDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/sortkeydlg.hxx b/sc/source/ui/inc/sortkeydlg.hxx index 667cd35aa2a4..52eece03d713 100644 --- a/sc/source/ui/inc/sortkeydlg.hxx +++ b/sc/source/ui/inc/sortkeydlg.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SORTKEYDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SORTKEYDLG_HXX +#pragma once #include <vector> #include <memory> @@ -49,6 +48,4 @@ public: void AddSortKey(sal_uInt16 nItem); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_SORTKEYDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/spelldialog.hxx b/sc/source/ui/inc/spelldialog.hxx index 655217bf8d8b..2319866afbf5 100644 --- a/sc/source/ui/inc/spelldialog.hxx +++ b/sc/source/ui/inc/spelldialog.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SPELLDIALOG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SPELLDIALOG_HXX +#pragma once #include <memory> #include <svx/SpellDialogChildWindow.hxx> @@ -88,6 +87,4 @@ private: bool mbOldIdleEnabled; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/spelleng.hxx b/sc/source/ui/inc/spelleng.hxx index 48dbb826bde0..06358a5136b7 100644 --- a/sc/source/ui/inc/spelleng.hxx +++ b/sc/source/ui/inc/spelleng.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_SC_SOURCE_UI_INC_SPELLENG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SPELLENG_HXX +#pragma once #include <editutil.hxx> #include "selectionstate.hxx" @@ -149,6 +148,4 @@ private: ScConversionParam maConvParam; /// Conversion parameters. }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/spellparam.hxx b/sc/source/ui/inc/spellparam.hxx index 96660b983493..ba6f56d7f4ef 100644 --- a/sc/source/ui/inc/spellparam.hxx +++ b/sc/source/ui/inc/spellparam.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_SC_SOURCE_UI_INC_SPELLPARAM_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SPELLPARAM_HXX +#pragma once #include <vcl/font.hxx> @@ -69,6 +68,4 @@ private: bool mbIsInteractive; /// True = Text conversion has (specific) dialog that may be raised. }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/strindlg.hxx b/sc/source/ui/inc/strindlg.hxx index 8d14f5ec5187..6b1490349b47 100644 --- a/sc/source/ui/inc/strindlg.hxx +++ b/sc/source/ui/inc/strindlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_STRINDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_STRINDLG_HXX +#pragma once #include <vcl/weld.hxx> @@ -41,6 +40,4 @@ public: } }; -#endif // INCLUDED_SC_SOURCE_UI_INC_STRINDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/styledlg.hxx b/sc/source/ui/inc/styledlg.hxx index 2d3aa4241b17..2f43e04745a6 100644 --- a/sc/source/ui/inc/styledlg.hxx +++ b/sc/source/ui/inc/styledlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_STYLEDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_STYLEDLG_HXX +#pragma once #include <sfx2/styledlg.hxx> @@ -39,6 +38,4 @@ private: bool m_bPage; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_STYLEDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/subtdlg.hxx b/sc/source/ui/inc/subtdlg.hxx index dc61b6cf4d1a..b0c97b09e173 100644 --- a/sc/source/ui/inc/subtdlg.hxx +++ b/sc/source/ui/inc/subtdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_SUBTDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_SUBTDLG_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -33,6 +32,4 @@ private: DECL_LINK(RemoveHdl, weld::Button&, void); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_SUBTDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tabbgcolordlg.hxx b/sc/source/ui/inc/tabbgcolordlg.hxx index 0eea402d1f89..94323f676b21 100644 --- a/sc/source/ui/inc/tabbgcolordlg.hxx +++ b/sc/source/ui/inc/tabbgcolordlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TABBGCOLORDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TABBGCOLORDLG_HXX +#pragma once #include <svx/SvxColorValueSet.hxx> #include <svx/PaletteManager.hxx> @@ -66,6 +65,4 @@ private: DECL_LINK(TabBgColorOKHdl_Impl, weld::Button&, void); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_TABBGCOLORDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tabcont.hxx b/sc/source/ui/inc/tabcont.hxx index 5f41ac8c5919..6a12c1d073af 100644 --- a/sc/source/ui/inc/tabcont.hxx +++ b/sc/source/ui/inc/tabcont.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TABCONT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TABCONT_HXX +#pragma once #include <types.hxx> #include <svtools/tabbar.hxx> @@ -76,6 +75,4 @@ public: void SwitchToPageId( sal_uInt16 nId ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tabopdlg.hxx b/sc/source/ui/inc/tabopdlg.hxx index d9911794c2d0..2e39e94d5f95 100644 --- a/sc/source/ui/inc/tabopdlg.hxx +++ b/sc/source/ui/inc/tabopdlg.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TABOPDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TABOPDLG_HXX +#pragma once #include <address.hxx> #include "anyrefdg.hxx" @@ -91,6 +90,4 @@ private: }; -#endif // INCLUDED_SC_SOURCE_UI_INC_TABOPDLG_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tabpages.hxx b/sc/source/ui/inc/tabpages.hxx index ba8e35e4945f..b7ca470b6e92 100644 --- a/sc/source/ui/inc/tabpages.hxx +++ b/sc/source/ui/inc/tabpages.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TABPAGES_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TABPAGES_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -66,6 +65,4 @@ private: void UpdateButtons(); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_TABPAGES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tabsplit.hxx b/sc/source/ui/inc/tabsplit.hxx index 193027f9896b..ce09efddc260 100644 --- a/sc/source/ui/inc/tabsplit.hxx +++ b/sc/source/ui/inc/tabsplit.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TABSPLIT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TABSPLIT_HXX +#pragma once #include <vcl/split.hxx> @@ -42,6 +41,4 @@ public: virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rPaintRect ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx index b07ac0236b0c..93cedfee36ec 100644 --- a/sc/source/ui/inc/tabview.hxx +++ b/sc/source/ui/inc/tabview.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_SC_SOURCE_UI_INC_TABVIEW_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TABVIEW_HXX +#pragma once #include <sal/config.h> @@ -610,6 +609,4 @@ public: SCCOL GetLOKEndHeaderCol() const { return mnLOKEndHeaderCol; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index 94f8e14ebb91..7a5ddf472803 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TABVWSH_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TABVWSH_HXX +#pragma once #include <formula/errorcodes.hxx> #include <formula/opcode.hxx> @@ -403,6 +402,4 @@ public: virtual tools::Rectangle getLOKVisibleArea() const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/target.hxx b/sc/source/ui/inc/target.hxx index 6c42308a6ac9..b7c5c78e243d 100644 --- a/sc/source/ui/inc/target.hxx +++ b/sc/source/ui/inc/target.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TARGET_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TARGET_HXX +#pragma once #include <svl/undo.hxx> @@ -37,6 +36,4 @@ public: ScTabViewShell* GetViewShell() const { return pViewShell; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tbzoomsliderctrl.hxx b/sc/source/ui/inc/tbzoomsliderctrl.hxx index 8fc4033cb978..3be8d7556b65 100644 --- a/sc/source/ui/inc/tbzoomsliderctrl.hxx +++ b/sc/source/ui/inc/tbzoomsliderctrl.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_SC_SOURCE_UI_INC_TBZOOMSLIDERCTRL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TBZOOMSLIDERCTRL_HXX +#pragma once #include <vcl/customweld.hxx> #include <vcl/window.hxx> @@ -76,6 +75,4 @@ public: void UpdateFromItem( const SvxZoomSliderItem* pZoomSliderItem ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/textdlgs.hxx b/sc/source/ui/inc/textdlgs.hxx index 97da3a214455..0bffe3a242c3 100644 --- a/sc/source/ui/inc/textdlgs.hxx +++ b/sc/source/ui/inc/textdlgs.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TEXTDLGS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TEXTDLGS_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -45,6 +44,4 @@ public: ScParagraphDlg(weld::Window* pParent, const SfxItemSet* pAttr); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/textimportoptions.hxx b/sc/source/ui/inc/textimportoptions.hxx index 78fd5cb88e01..71e092cb0667 100644 --- a/sc/source/ui/inc/textimportoptions.hxx +++ b/sc/source/ui/inc/textimportoptions.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TEXTIMPORTOPTIONS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TEXTIMPORTOPTIONS_HXX +#pragma once #include <vcl/weld.hxx> #include <i18nlangtag/lang.h> @@ -50,6 +49,4 @@ private: DECL_LINK(RadioHdl, weld::ToggleButton&, void); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tpcalc.hxx b/sc/source/ui/inc/tpcalc.hxx index 21bc8c526ec7..e413e9f71d16 100644 --- a/sc/source/ui/inc/tpcalc.hxx +++ b/sc/source/ui/inc/tpcalc.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPCALC_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPCALC_HXX +#pragma once #include <sfx2/tabdlg.hxx> #include "editfield.hxx" @@ -72,6 +71,4 @@ private: DECL_LINK( CheckClickHdl, weld::ToggleButton&, void ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tpcompatibility.hxx b/sc/source/ui/inc/tpcompatibility.hxx index 4a61426a5431..c2fe28358928 100644 --- a/sc/source/ui/inc/tpcompatibility.hxx +++ b/sc/source/ui/inc/tpcompatibility.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPCOMPATIBILITY_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPCOMPATIBILITY_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -27,6 +26,4 @@ private: std::unique_ptr<weld::ComboBox> m_xLbKeyBindings; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tpdefaults.hxx b/sc/source/ui/inc/tpdefaults.hxx index b830173686a2..cabcf571071b 100644 --- a/sc/source/ui/inc/tpdefaults.hxx +++ b/sc/source/ui/inc/tpdefaults.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPDEFAULTS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPDEFAULTS_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -41,6 +40,4 @@ private: std::unique_ptr<weld::CheckButton> m_xEdJumboSheets; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tpformula.hxx b/sc/source/ui/inc/tpformula.hxx index 78d93c798f05..7ae53e0c354a 100644 --- a/sc/source/ui/inc/tpformula.hxx +++ b/sc/source/ui/inc/tpformula.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPFORMULA_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPFORMULA_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -82,6 +81,4 @@ private: std::unique_ptr<weld::ComboBox> mxLbODFRecalcOptions; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tphf.hxx b/sc/source/ui/inc/tphf.hxx index edd87f207a70..36df5352a59f 100644 --- a/sc/source/ui/inc/tphf.hxx +++ b/sc/source/ui/inc/tphf.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPHF_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPHF_HXX +#pragma once #include <svx/hdft.hxx> @@ -68,6 +67,4 @@ public: static const sal_uInt16* GetRanges(); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_TPHF_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tphfedit.hxx b/sc/source/ui/inc/tphfedit.hxx index 5bce89b41f4a..e6f70b5ecf23 100644 --- a/sc/source/ui/inc/tphfedit.hxx +++ b/sc/source/ui/inc/tphfedit.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPHFEDIT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPHFEDIT_HXX +#pragma once #include <scdllapi.h> #include <editutil.hxx> @@ -86,6 +85,4 @@ private: }; -#endif // INCLUDED_SC_SOURCE_UI_INC_TPHFEDIT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tpprint.hxx b/sc/source/ui/inc/tpprint.hxx index 4e2d0f91712c..09e78eb3754d 100644 --- a/sc/source/ui/inc/tpprint.hxx +++ b/sc/source/ui/inc/tpprint.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPPRINT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPPRINT_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -38,6 +37,4 @@ public: virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx index ba87a01231a8..3332263bf121 100644 --- a/sc/source/ui/inc/tpsort.hxx +++ b/sc/source/ui/inc/tpsort.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPSORT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPSORT_HXX +#pragma once #include <vector> @@ -150,6 +149,4 @@ private: DECL_LINK( FillAlgorHdl, weld::ComboBox&, void ); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_TPSORT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tpstat.hxx b/sc/source/ui/inc/tpstat.hxx index 71d3dd7cd94b..bb57d7212747 100644 --- a/sc/source/ui/inc/tpstat.hxx +++ b/sc/source/ui/inc/tpstat.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPSTAT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPSTAT_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -41,6 +40,4 @@ private: std::unique_ptr<weld::Frame> m_xFrame; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tpsubt.hxx b/sc/source/ui/inc/tpsubt.hxx index c4b8fea42322..e7bbd2732fc3 100644 --- a/sc/source/ui/inc/tpsubt.hxx +++ b/sc/source/ui/inc/tpsubt.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPSUBT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPSUBT_HXX +#pragma once #include <sfx2/tabdlg.hxx> #include <global.hxx> @@ -145,6 +144,4 @@ private: std::unique_ptr<weld::ComboBox> m_xLbUserDef; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_TPSUBT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tptable.hxx b/sc/source/ui/inc/tptable.hxx index fe86f338ec9a..3f22ebce103a 100644 --- a/sc/source/ui/inc/tptable.hxx +++ b/sc/source/ui/inc/tptable.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -78,6 +77,4 @@ private: DECL_LINK(ToggleHdl, weld::ToggleButton&, void); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tpusrlst.hxx b/sc/source/ui/inc/tpusrlst.hxx index c237da9a9fb2..ead6ee66207b 100644 --- a/sc/source/ui/inc/tpusrlst.hxx +++ b/sc/source/ui/inc/tpusrlst.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPUSRLST_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPUSRLST_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -86,6 +85,4 @@ private: DECL_LINK( EdEntriesModHdl, weld::TextView&, void); }; -#endif // INCLUDED_SC_SOURCE_UI_INC_TPUSRLST_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/tpview.hxx b/sc/source/ui/inc/tpview.hxx index eed889eda4e5..59acf3a4a547 100644 --- a/sc/source/ui/inc/tpview.hxx +++ b/sc/source/ui/inc/tpview.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TPVIEW_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TPVIEW_HXX +#pragma once #include <sfx2/tabdlg.hxx> #include <svx/colorbox.hxx> @@ -111,6 +110,4 @@ public: virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_TPVIEW_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/transobj.hxx b/sc/source/ui/inc/transobj.hxx index fdcfd6f408dc..8861cfb4a35b 100644 --- a/sc/source/ui/inc/transobj.hxx +++ b/sc/source/ui/inc/transobj.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_TRANSOBJ_HXX -#define INCLUDED_SC_SOURCE_UI_INC_TRANSOBJ_HXX +#pragma once #include <vcl/transfer.hxx> #include <address.hxx> @@ -110,6 +109,4 @@ public: static const com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/uiitems.hxx b/sc/source/ui/inc/uiitems.hxx index 5bc566181c41..7a16c79f2bac 100644 --- a/sc/source/ui/inc/uiitems.hxx +++ b/sc/source/ui/inc/uiitems.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_UIITEMS_HXX -#define INCLUDED_SC_SOURCE_UI_INC_UIITEMS_HXX +#pragma once #include <scdllapi.h> #include <sortparam.hxx> @@ -275,6 +274,4 @@ private: ScTabOpParam theTabOpData; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx index d497e798ebc0..698fcc51b81f 100644 --- a/sc/source/ui/inc/undobase.hxx +++ b/sc/source/ui/inc/undobase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOBASE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_UNDOBASE_HXX +#pragma once #include <svl/undo.hxx> #include <address.hxx> @@ -176,6 +175,4 @@ public: ViewShellId GetViewShellId() const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/undoblk.hxx b/sc/source/ui/inc/undoblk.hxx index a4a8ba034cea..48b8cdeb5003 100644 --- a/sc/source/ui/inc/undoblk.hxx +++ b/sc/source/ui/inc/undoblk.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_SC_SOURCE_UI_INC_UNDOBLK_HXX -#define INCLUDED_SC_SOURCE_UI_INC_UNDOBLK_HXX +#pragma once #include "undobase.hxx" #include <markdata.hxx> @@ -981,6 +980,4 @@ private: std::unique_ptr<SvxBoxInfoItem> xInner; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/undocell.hxx b/sc/source/ui/inc/undocell.hxx index aebd1eabe5bd..b013e084fee5 100644 --- a/sc/source/ui/inc/undocell.hxx +++ b/sc/source/ui/inc/undocell.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOCELL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_UNDOCELL_HXX +#pragma once #include "undobase.hxx" #include <detdata.hxx> @@ -367,6 +366,4 @@ public: } // namespace sc -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/undoconvert.hxx b/sc/source/ui/inc/undoconvert.hxx index 291c9db2ec7c..428710d83688 100644 --- a/sc/source/ui/inc/undoconvert.hxx +++ b/sc/source/ui/inc/undoconvert.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_UNDOCONVERT_HXX -#define INCLUDED_SC_UNDOCONVERT_HXX +#pragma once #include "undobase.hxx" #include <cellvalues.hxx> @@ -31,6 +30,4 @@ private: }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/undodat.hxx b/sc/source/ui/inc/undodat.hxx index 6cde8b10e28e..486fe07d11ca 100644 --- a/sc/source/ui/inc/undodat.hxx +++ b/sc/source/ui/inc/undodat.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDODAT_HXX -#define INCLUDED_SC_SOURCE_UI_INC_UNDODAT_HXX +#pragma once #include "undobase.hxx" #include "refundo.hxx" @@ -444,6 +443,4 @@ private: void DoChange( const bool bUndo ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/undodraw.hxx b/sc/source/ui/inc/undodraw.hxx index 0950d9d57821..b12eebdb3ea0 100644 --- a/sc/source/ui/inc/undodraw.hxx +++ b/sc/source/ui/inc/undodraw.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDODRAW_HXX -#define INCLUDED_SC_SOURCE_UI_INC_UNDODRAW_HXX +#pragma once #include <memory> #include <svl/undo.hxx> @@ -50,6 +49,4 @@ public: ViewShellId GetViewShellId() const override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/undoolk.hxx b/sc/source/ui/inc/undoolk.hxx index 26695085185c..67d519438097 100644 --- a/sc/source/ui/inc/undoolk.hxx +++ b/sc/source/ui/inc/undoolk.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOOLK_HXX -#define INCLUDED_SC_SOURCE_UI_INC_UNDOOLK_HXX +#pragma once #include <memory> @@ -30,6 +29,4 @@ void DoSdrUndoAction ( SdrUndoAction* pUndoAction, ScDocument* pD void RedoSdrUndoAction ( SdrUndoAction* pUndoAction ); void EnableDrawAdjust ( ScDocument* pDoc, bool bEnable ); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/undosort.hxx b/sc/source/ui/inc/undosort.hxx index d44827ffad5e..64b4f0da7859 100644 --- a/sc/source/ui/inc/undosort.hxx +++ b/sc/source/ui/inc/undosort.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_UNDOSORT_HXX -#define INCLUDED_SC_UNDOSORT_HXX +#pragma once #include "undobase.hxx" #include <sortparam.hxx> @@ -32,6 +31,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/undostyl.hxx b/sc/source/ui/inc/undostyl.hxx index 0e27014fb0cb..6ea88d0d9550 100644 --- a/sc/source/ui/inc/undostyl.hxx +++ b/sc/source/ui/inc/undostyl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOSTYL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_UNDOSTYL_HXX +#pragma once #include <memory> #include <svl/style.hxx> @@ -99,6 +98,4 @@ private: OUString maNewStyle; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/undotab.hxx b/sc/source/ui/inc/undotab.hxx index d9e50709a470..2f39b5002e36 100644 --- a/sc/source/ui/inc/undotab.hxx +++ b/sc/source/ui/inc/undotab.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOTAB_HXX -#define INCLUDED_SC_SOURCE_UI_INC_UNDOTAB_HXX +#pragma once #include "undobase.hxx" #include <tools/color.hxx> @@ -469,6 +468,4 @@ private: void DoChange( bool bNew ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/undoutil.hxx b/sc/source/ui/inc/undoutil.hxx index b95af8a198b2..59887e570546 100644 --- a/sc/source/ui/inc/undoutil.hxx +++ b/sc/source/ui/inc/undoutil.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOUTIL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_UNDOUTIL_HXX +#pragma once #include <address.hxx> @@ -48,6 +47,4 @@ public: SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx index a0f84104b63b..82b3cd5968b3 100644 --- a/sc/source/ui/inc/validate.hxx +++ b/sc/source/ui/inc/validate.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_VALIDATE_HXX -#define INCLUDED_SC_SOURCE_UI_INC_VALIDATE_HXX +#pragma once #include <sfx2/tabdlg.hxx> @@ -273,6 +272,4 @@ public: virtual void Reset ( const SfxItemSet* rArgSet ) override; }; -#endif // INCLUDED_SC_SOURCE_UI_INC_VALIDATE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx index 4026c175e13e..957fd47a9b35 100644 --- a/sc/source/ui/inc/viewdata.hxx +++ b/sc/source/ui/inc/viewdata.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_SC_SOURCE_UI_INC_VIEWDATA_HXX -#define INCLUDED_SC_SOURCE_UI_INC_VIEWDATA_HXX +#pragma once #include <tools/fract.hxx> #include <sfx2/zoomitem.hxx> @@ -713,6 +712,4 @@ inline ScVSplitPos WhichV( ScSplitPos ePos ) SC_SPLIT_TOP : SC_SPLIT_BOTTOM; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx index 7515c9e93858..873312644634 100644 --- a/sc/source/ui/inc/viewfunc.hxx +++ b/sc/source/ui/inc/viewfunc.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_SC_SOURCE_UI_INC_VIEWFUNC_HXX -#define INCLUDED_SC_SOURCE_UI_INC_VIEWFUNC_HXX +#pragma once #include "tabview.hxx" @@ -377,6 +376,4 @@ private: extern bool bPasteIsMove; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/viewutil.hxx b/sc/source/ui/inc/viewutil.hxx index 834802f06d0c..228590b6aca4 100644 --- a/sc/source/ui/inc/viewutil.hxx +++ b/sc/source/ui/inc/viewutil.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_SC_SOURCE_UI_INC_VIEWUTIL_HXX -#define INCLUDED_SC_SOURCE_UI_INC_VIEWUTIL_HXX +#pragma once #include <address.hxx> #include <sal/types.h> @@ -86,6 +85,4 @@ public: bool GetDiff( SCCOL& rX1, SCROW& rY1, SCCOL& rX2, SCROW& rY2 ); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/warnbox.hxx b/sc/source/ui/inc/warnbox.hxx index ec839abbfdf0..f3a437b5ed4f 100644 --- a/sc/source/ui/inc/warnbox.hxx +++ b/sc/source/ui/inc/warnbox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_WARNBOX_HXX -#define INCLUDED_SC_SOURCE_UI_INC_WARNBOX_HXX +#pragma once #include <vcl/weld.hxx> @@ -37,6 +36,4 @@ public: virtual short run() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/xmlsourcedlg.hxx b/sc/source/ui/inc/xmlsourcedlg.hxx index 9f4b308e56f4..d4a030f78ecc 100644 --- a/sc/source/ui/inc/xmlsourcedlg.hxx +++ b/sc/source/ui/inc/xmlsourcedlg.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_SOURCE_UI_INC_XMLSOURCEDLG_HXX -#define INCLUDED_SC_SOURCE_UI_INC_XMLSOURCEDLG_HXX +#pragma once #include "anyrefdg.hxx" #include <orcusxml.hxx> @@ -104,6 +103,4 @@ private: DECL_LINK(RefModifiedHdl, formula::RefEdit&, void); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |