diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-06-03 11:20:22 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-06-06 19:16:40 +0000 |
commit | c2034f3993ab0e6f4550f3059b3229bc319b6b56 (patch) | |
tree | a9686292b74bc75bfeb09a733f08cf97183631a1 /include/systools | |
parent | 0ed60a973753d143158c5b17c781bac07bfc3827 (diff) |
fixincludeguards: fix include guards
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b
Reviewed-on: https://gerrit.libreoffice.org/9629
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'include/systools')
-rw-r--r-- | include/systools/win32/comtools.hxx | 5 | ||||
-rw-r--r-- | include/systools/win32/uwinapi.h | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/include/systools/win32/comtools.hxx b/include/systools/win32/comtools.hxx index 1ef61ea3d967..0cbe54f1acaf 100644 --- a/include/systools/win32/comtools.hxx +++ b/include/systools/win32/comtools.hxx @@ -17,7 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#pragma once +#ifndef INCLUDED_SYSTOOLS_WIN32_COMTOOLS_HXX +#define INCLUDED_SYSTOOLS_WIN32_COMTOOLS_HXX #include <string> #include <stdexcept> @@ -184,4 +185,6 @@ typedef sal::systools::COMReference<IDataObject> IDataObjectPtr; typedef sal::systools::COMReference<IStream> IStreamPtr; typedef sal::systools::COMReference<IEnumFORMATETC> IEnumFORMATETCPtr; +#endif // INCLUDED_SYSTOOLS_WIN32_COMTOOLS_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/systools/win32/uwinapi.h b/include/systools/win32/uwinapi.h index 4aa6997d7a87..db2faead0c29 100644 --- a/include/systools/win32/uwinapi.h +++ b/include/systools/win32/uwinapi.h @@ -17,7 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#pragma once +#ifndef INCLUDED_SYSTOOLS_WIN32_UWINAPI_H +#define INCLUDED_SYSTOOLS_WIN32_UWINAPI_H + #include <sal/macros.h> #ifdef _UWINAPI_ # define _KERNEL32_ @@ -55,4 +57,6 @@ inline bool IsValidHandle(HANDLE handle) #endif /* __cplusplus */ +#endif // INCLUDED_SYSTOOLS_WIN32_UWINAPI_H + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |