From 3bf4af8d187ba21498af5b6ea7a94cdfc3b93613 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 28 Dec 2019 18:08:42 +0100 Subject: Revert "tdf#124176: Use "pragma once" on udkapi/*" This reverts commit 8fd8c0894deb1e9161aa4290c0f9c860ab4b14fb. Reason for revert: As the failed Jenkins build shows, idlc does not support "#pragma once" in UNO .idl files. Change-Id: Ic025d11254da87876e6248db47b8a9a124f26796 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85929 Tested-by: Jenkins Reviewed-by: Noel Grandin --- udkapi/com/sun/star/task/XInteractionAbort.idl | 4 +++- udkapi/com/sun/star/task/XInteractionContinuation.idl | 4 +++- udkapi/com/sun/star/task/XInteractionHandler.idl | 4 +++- udkapi/com/sun/star/task/XInteractionHandler2.idl | 4 +++- udkapi/com/sun/star/task/XInteractionRequest.idl | 4 +++- udkapi/com/sun/star/task/XInteractionRetry.idl | 4 +++- 6 files changed, 18 insertions(+), 6 deletions(-) (limited to 'udkapi/com/sun/star/task') diff --git a/udkapi/com/sun/star/task/XInteractionAbort.idl b/udkapi/com/sun/star/task/XInteractionAbort.idl index d65e1d236e74..0124933ccacd 100644 --- a/udkapi/com/sun/star/task/XInteractionAbort.idl +++ b/udkapi/com/sun/star/task/XInteractionAbort.idl @@ -16,7 +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 . */ -#pragma once +#ifndef __com_sun_star_task_XInteractionAbort_idl__ +#define __com_sun_star_task_XInteractionAbort_idl__ #include @@ -34,5 +35,6 @@ published interface XInteractionAbort: com::sun::star::task::XInteractionContinu }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/task/XInteractionContinuation.idl b/udkapi/com/sun/star/task/XInteractionContinuation.idl index b648908d41cb..d4fcf0aa19a4 100644 --- a/udkapi/com/sun/star/task/XInteractionContinuation.idl +++ b/udkapi/com/sun/star/task/XInteractionContinuation.idl @@ -16,7 +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 . */ -#pragma once +#ifndef __com_sun_star_task_XInteractionContinuation_idl__ +#define __com_sun_star_task_XInteractionContinuation_idl__ #include @@ -43,5 +44,6 @@ published interface XInteractionContinuation: com::sun::star::uno::XInterface }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/task/XInteractionHandler.idl b/udkapi/com/sun/star/task/XInteractionHandler.idl index 44fd33d2a8af..26e765c5e3fa 100644 --- a/udkapi/com/sun/star/task/XInteractionHandler.idl +++ b/udkapi/com/sun/star/task/XInteractionHandler.idl @@ -16,7 +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 . */ -#pragma once +#ifndef __com_sun_star_task_XInteractionHandler_idl__ +#define __com_sun_star_task_XInteractionHandler_idl__ #include @@ -39,5 +40,6 @@ published interface XInteractionHandler: com::sun::star::uno::XInterface }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/task/XInteractionHandler2.idl b/udkapi/com/sun/star/task/XInteractionHandler2.idl index 49c093d00115..07b5995a8467 100644 --- a/udkapi/com/sun/star/task/XInteractionHandler2.idl +++ b/udkapi/com/sun/star/task/XInteractionHandler2.idl @@ -16,7 +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 . */ -#pragma once +#ifndef __com_sun_star_task_XInteractionHandler2_idl__ +#define __com_sun_star_task_XInteractionHandler2_idl__ #include @@ -49,5 +50,6 @@ published interface XInteractionHandler2 : com::sun::star::task::XInteractionHan }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/task/XInteractionRequest.idl b/udkapi/com/sun/star/task/XInteractionRequest.idl index 75fd11f547ba..3738ce1b4d7f 100644 --- a/udkapi/com/sun/star/task/XInteractionRequest.idl +++ b/udkapi/com/sun/star/task/XInteractionRequest.idl @@ -16,7 +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 . */ -#pragma once +#ifndef __com_sun_star_task_XInteractionRequest_idl__ +#define __com_sun_star_task_XInteractionRequest_idl__ #include @@ -49,5 +50,6 @@ published interface XInteractionRequest: com::sun::star::uno::XInterface }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/task/XInteractionRetry.idl b/udkapi/com/sun/star/task/XInteractionRetry.idl index 9ddb41198edf..3f31bb97d324 100644 --- a/udkapi/com/sun/star/task/XInteractionRetry.idl +++ b/udkapi/com/sun/star/task/XInteractionRetry.idl @@ -16,7 +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 . */ -#pragma once +#ifndef __com_sun_star_task_XInteractionRetry_idl__ +#define __com_sun_star_task_XInteractionRetry_idl__ #include @@ -34,5 +35,6 @@ published interface XInteractionRetry: com::sun::star::task::XInteractionContinu }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit