sc/inc/NumberFormatControl.hxx | 6 ++---- sc/inc/documentlinkmgr.hxx | 5 +---- sc/inc/filtopt.hxx | 5 +---- sc/inc/fonthelper.hxx | 5 +---- sc/inc/forbiuno.hxx | 5 +---- 5 files changed, 6 insertions(+), 20 deletions(-)
New commits: commit a44ca770302e8aa7079de96bda0c2fe2e7cc92bb Author: Faruk Demirbaş <miski...@gmail.com> AuthorDate: Sat Jan 25 16:28:07 2020 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Sat Jan 25 19:01:50 2020 +0100 tdf#124176: Use pragma once instead of include guards Change-Id: I2c74c77115df7c9fd29ccf7722d00c71687046fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87402 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.k...@collabora.com> diff --git a/sc/inc/NumberFormatControl.hxx b/sc/inc/NumberFormatControl.hxx index e2c8712b7032..56ec8ed0e3cb 100644 --- a/sc/inc/NumberFormatControl.hxx +++ b/sc/inc/NumberFormatControl.hxx @@ -16,8 +16,8 @@ * 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_NUMBERFORMATCONTROL_HXX -#define INCLUDED_SC_NUMBERFORMATCONTROL_HXX + +#pragma once #include "scdllapi.h" #include <sfx2/tbxctrl.hxx> @@ -40,6 +40,4 @@ public: } // end of namespace sc -#endif // INCLUDED_SC_NUMBERFORMATCONTROL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/inc/documentlinkmgr.hxx b/sc/inc/documentlinkmgr.hxx index b0c85826b4db..99a3ca3e5a95 100644 --- a/sc/inc/documentlinkmgr.hxx +++ b/sc/inc/documentlinkmgr.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_INC_DOCUMENTLINKMGR_HXX -#define INCLUDED_SC_INC_DOCUMENTLINKMGR_HXX +#pragma once #include <rtl/ustring.hxx> #include <memory> @@ -68,6 +67,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/inc/filtopt.hxx b/sc/inc/filtopt.hxx index 212fca328232..50dfdfbbf373 100644 --- a/sc/inc/filtopt.hxx +++ b/sc/inc/filtopt.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_INC_FILTOPT_HXX -#define INCLUDED_SC_INC_FILTOPT_HXX +#pragma once #include <unotools/configitem.hxx> #include "scdllapi.h" @@ -40,6 +39,4 @@ public: bool GetWK3Flag() const { return bWK3Flag; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/inc/fonthelper.hxx b/sc/inc/fonthelper.hxx index f3ecf2bfb9c5..0f94b41400cc 100644 --- a/sc/inc/fonthelper.hxx +++ b/sc/inc/fonthelper.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SC_INC_FONTHELPER_HXX -#define INCLUDED_SC_INC_FONTHELPER_HXX +#pragma once #include "scdllapi.h" #include <o3tl/optional.hxx> @@ -46,6 +45,4 @@ struct SC_DLLPUBLIC ScDxfFont } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/inc/forbiuno.hxx b/sc/inc/forbiuno.hxx index ac599c010a47..b6440f4eb7fb 100644 --- a/sc/inc/forbiuno.hxx +++ b/sc/inc/forbiuno.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SC_INC_FORBIUNO_HXX -#define INCLUDED_SC_INC_FORBIUNO_HXX +#pragma once #include <editeng/UnoForbiddenCharsTable.hxx> #include <svl/lstner.hxx> @@ -40,6 +39,4 @@ public: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits