diff options
author | Vincent LE GARREC <libreoffice@le-garrec.fr> | 2021-03-06 08:21:49 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-03-23 13:07:09 +0100 |
commit | 90c978f839e5029c69b4acb70f37909ee3016614 (patch) | |
tree | ac5c8cd53cf72ddc2336d53ab3f4b40661e30091 /fpicker/source/win32 | |
parent | 88eb9f73ff32ed5a2cf696de9e076e7dfee36d8d (diff) |
tdf#124176 Use pragma once in f*
filter, forms, fpicker, framework
Change-Id: I55a25ad2dc3749e63465e638e8eeea3c322eabbf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112047
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'fpicker/source/win32')
-rw-r--r-- | fpicker/source/win32/FilterContainer.hxx | 5 | ||||
-rw-r--r-- | fpicker/source/win32/VistaFilePicker.hxx | 5 | ||||
-rw-r--r-- | fpicker/source/win32/VistaFilePickerEventHandler.hxx | 5 | ||||
-rw-r--r-- | fpicker/source/win32/VistaFilePickerImpl.hxx | 5 | ||||
-rw-r--r-- | fpicker/source/win32/WinImplHelper.hxx | 5 | ||||
-rw-r--r-- | fpicker/source/win32/asyncrequests.hxx | 5 | ||||
-rw-r--r-- | fpicker/source/win32/platform_vista.h | 5 | ||||
-rw-r--r-- | fpicker/source/win32/resourceprovider.hxx | 5 | ||||
-rw-r--r-- | fpicker/source/win32/shared.hxx | 4 | ||||
-rw-r--r-- | fpicker/source/win32/vistatypes.h | 5 |
10 files changed, 10 insertions, 39 deletions
diff --git a/fpicker/source/win32/FilterContainer.hxx b/fpicker/source/win32/FilterContainer.hxx index f54b10a7f3f0..a1e498cef3f0 100644 --- a/fpicker/source/win32/FilterContainer.hxx +++ b/fpicker/source/win32/FilterContainer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_FILTERCONTAINER_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_FILTERCONTAINER_HXX +#pragma once #include <sal/types.h> #include <rtl/ustring.hxx> @@ -105,6 +104,4 @@ private: OUString makeWinFilterBuffer( CFilterContainer& aFilterContainer ); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/VistaFilePicker.hxx b/fpicker/source/win32/VistaFilePicker.hxx index 53879c0c8742..026c0e859c09 100644 --- a/fpicker/source/win32/VistaFilePicker.hxx +++ b/fpicker/source/win32/VistaFilePicker.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKER_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKER_HXX +#pragma once #include "asyncrequests.hxx" #include "VistaFilePickerImpl.hxx" @@ -228,6 +227,4 @@ public: } // namespace win32 } // namespace fpicker -#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/VistaFilePickerEventHandler.hxx b/fpicker/source/win32/VistaFilePickerEventHandler.hxx index 3ea47dbd8640..71199cd07b45 100644 --- a/fpicker/source/win32/VistaFilePickerEventHandler.hxx +++ b/fpicker/source/win32/VistaFilePickerEventHandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKEREVENTHANDLER_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKEREVENTHANDLER_HXX +#pragma once #include <shobjidl.h> @@ -190,6 +189,4 @@ class VistaFilePickerEventHandler : public ::cppu::BaseMutex } // namespace win32 } // namespace fpicker -#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKEREVENTHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/VistaFilePickerImpl.hxx b/fpicker/source/win32/VistaFilePickerImpl.hxx index c191330f4f16..ec7d1e2cddf6 100644 --- a/fpicker/source/win32/VistaFilePickerImpl.hxx +++ b/fpicker/source/win32/VistaFilePickerImpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKERIMPL_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKERIMPL_HXX +#pragma once #include "platform_vista.h" @@ -318,6 +317,4 @@ class VistaFilePickerImpl : private ::cppu::BaseMutex } // namespace win32 } // namespace fpicker -#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTAFILEPICKERIMPL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/WinImplHelper.hxx b/fpicker/source/win32/WinImplHelper.hxx index 860572415ba1..9f7e16e94ac3 100644 --- a/fpicker/source/win32/WinImplHelper.hxx +++ b/fpicker/source/win32/WinImplHelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_MISC_WINIMPLHELPER_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_MISC_WINIMPLHELPER_HXX +#pragma once #include <sal/types.h> #include <rtl/ustring.hxx> @@ -47,6 +46,4 @@ OUString SOfficeToWindowsLabel(const OUString& aSOLabel); // '~' -> '~~' OUString WindowsToSOfficeLabel(const OUString& aWinLabel); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/asyncrequests.hxx b/fpicker/source/win32/asyncrequests.hxx index 5fbd7dde848f..410d4241311e 100644 --- a/fpicker/source/win32/asyncrequests.hxx +++ b/fpicker/source/win32/asyncrequests.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_ASYNCREQUESTS_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_ASYNCREQUESTS_HXX +#pragma once #include <cppuhelper/basemutex.hxx> #include <comphelper/sequenceashashmap.hxx> @@ -209,6 +208,4 @@ class AsyncRequests final: private ::cppu::BaseMutex } // namespace win32 } // namespace fpicker -#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_ASYNCREQUESTS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/platform_vista.h b/fpicker/source/win32/platform_vista.h index a6e6d2121dbe..ab3f7c52c213 100644 --- a/fpicker/source/win32/platform_vista.h +++ b/fpicker/source/win32/platform_vista.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_PLATFORM_VISTA_H -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_PLATFORM_VISTA_H +#pragma once #undef _WTL_NO_CSTRING @@ -41,6 +40,4 @@ #endif #endif -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/resourceprovider.hxx b/fpicker/source/win32/resourceprovider.hxx index 722d172294b5..09ae8339ba2a 100644 --- a/fpicker/source/win32/resourceprovider.hxx +++ b/fpicker/source/win32/resourceprovider.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_MISC_RESOURCEPROVIDER_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_MISC_RESOURCEPROVIDER_HXX +#pragma once #include <sal/config.h> @@ -33,6 +32,4 @@ namespace CResourceProvider OUString getResString(sal_Int16 aId); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/shared.hxx b/fpicker/source/win32/shared.hxx index 2e4427f6de9e..4f822b742149 100644 --- a/fpicker/source/win32/shared.hxx +++ b/fpicker/source/win32/shared.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_SHARED_HXX -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_SHARED_HXX +#pragma once #include <rtl/ustring.hxx> @@ -27,5 +26,4 @@ const OUString FILTER_SEPARATOR("------------------------------------------"); const OUString ALL_FILES_WILDCARD("*.*"); const bool ALLOW_DUPLICATES = true; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/vistatypes.h b/fpicker/source/win32/vistatypes.h index 5e6c62a439f3..a6a08faa5915 100644 --- a/fpicker/source/win32/vistatypes.h +++ b/fpicker/source/win32/vistatypes.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTATYPES_H -#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTATYPES_H +#pragma once #include <shobjidl.h> #include <systools/win32/comtools.hxx> @@ -41,6 +40,4 @@ typedef sal::systools::COMReference<IFileDialogCustomize> TFileDialogCustomize; } // namespace win32 } // namespace fpicker -#endif // INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_VISTATYPES_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |