summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl
diff options
context:
space:
mode:
authorVincent LE GARREC <libreoffice@le-garrec.fr>2021-03-23 20:02:02 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-03-24 07:39:31 +0100
commit7fb85fa0f0a85384f085b13e7d08113f63392445 (patch)
treec7d9534df412b61feadd77f76bb662b036669398 /sd/source/ui/unoidl
parentbdbb5d0389642c0d445b5779fe2a18fda3e4a4d4 (diff)
tdf#124176 Use pragma once in sd
Change-Id: Ic439140d9ecdcdee9272185bd3c2d11e11288f07 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112051 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sd/source/ui/unoidl')
-rw-r--r--sd/source/ui/unoidl/UnoDocumentSettings.hxx5
-rw-r--r--sd/source/ui/unoidl/sddetect.hxx5
-rw-r--r--sd/source/ui/unoidl/unocpres.hxx5
-rw-r--r--sd/source/ui/unoidl/unolayer.hxx5
-rw-r--r--sd/source/ui/unoidl/unomodule.hxx5
-rw-r--r--sd/source/ui/unoidl/unoobj.hxx5
-rw-r--r--sd/source/ui/unoidl/unopback.hxx5
-rw-r--r--sd/source/ui/unoidl/unopool.hxx5
-rw-r--r--sd/source/ui/unoidl/unowcntr.hxx5
9 files changed, 9 insertions, 36 deletions
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.hxx b/sd/source/ui/unoidl/UnoDocumentSettings.hxx
index ebf436862c7d..29de91941503 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.hxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SD_SOURCE_UI_UNOIDL_UNODOCUMENTSETTINGS_HXX
-#define INCLUDED_SD_SOURCE_UI_UNOIDL_UNODOCUMENTSETTINGS_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
@@ -35,6 +34,4 @@ css::uno::Reference<css::uno::XInterface>
DocumentSettings_createInstance(SdXImpressDocument* pDoc) throw();
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/unoidl/sddetect.hxx b/sd/source/ui/unoidl/sddetect.hxx
index 7b9da4383334..3d22cc12c832 100644
--- a/sd/source/ui/unoidl/sddetect.hxx
+++ b/sd/source/ui/unoidl/sddetect.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SD_SOURCE_UI_UNOIDL_SDDETECT_HXX
-#define INCLUDED_SD_SOURCE_UI_UNOIDL_SDDETECT_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <com/sun/star/document/XExtendedFilterDetection.hpp>
@@ -46,6 +45,4 @@ public:
virtual OUString SAL_CALL detect( css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/unoidl/unocpres.hxx b/sd/source/ui/unoidl/unocpres.hxx
index 8328e0dcc1a9..5a9cbad7768d 100644
--- a/sd/source/ui/unoidl/unocpres.hxx
+++ b/sd/source/ui/unoidl/unocpres.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_SD_SOURCE_UI_UNOIDL_UNOCPRES_HXX
-#define INCLUDED_SD_SOURCE_UI_UNOIDL_UNOCPRES_HXX
+#pragma once
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/container/XIndexContainer.hpp>
@@ -145,6 +144,4 @@ inline SdCustomShowList* SdXCustomPresentationAccess::GetCustomShowList() const
return nullptr;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/unoidl/unolayer.hxx b/sd/source/ui/unoidl/unolayer.hxx
index 25dea5cd05c9..0a78ba0eca7f 100644
--- a/sd/source/ui/unoidl/unolayer.hxx
+++ b/sd/source/ui/unoidl/unolayer.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_SD_SOURCE_UI_UNOIDL_UNOLAYER_HXX
-#define INCLUDED_SD_SOURCE_UI_UNOIDL_UNOLAYER_HXX
+#pragma once
#include <com/sun/star/drawing/XLayer.hpp>
#include <com/sun/star/drawing/XLayerManager.hpp>
@@ -167,6 +166,4 @@ private:
void UpdateLayerView() const throw();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/unoidl/unomodule.hxx b/sd/source/ui/unoidl/unomodule.hxx
index 8f1c1f85a3be..bc78c6b197e1 100644
--- a/sd/source/ui/unoidl/unomodule.hxx
+++ b/sd/source/ui/unoidl/unomodule.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SD_SOURCE_UI_UNOIDL_UNOMODULE_HXX
-#define INCLUDED_SD_SOURCE_UI_UNOIDL_UNOMODULE_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <com/sun/star/frame/XDispatchProvider.hpp>
@@ -55,6 +54,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx
index 1e42d2d7d8a4..8bb4bcad0815 100644
--- a/sd/source/ui/unoidl/unoobj.hxx
+++ b/sd/source/ui/unoidl/unoobj.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_SD_SOURCE_UI_UNOIDL_UNOOBJ_HXX
-#define INCLUDED_SD_SOURCE_UI_UNOIDL_UNOOBJ_HXX
+#pragma once
#include <com/sun/star/beans/PropertyState.hpp>
#include <com/sun/star/document/XEventsSupplier.hpp>
@@ -98,6 +97,4 @@ public:
struct SvEventDescription;
const SvEventDescription* ImplGetSupportedMacroItems();
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/unoidl/unopback.hxx b/sd/source/ui/unoidl/unopback.hxx
index fc3193068ad7..3ff00d383c1f 100644
--- a/sd/source/ui/unoidl/unopback.hxx
+++ b/sd/source/ui/unoidl/unopback.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_SD_SOURCE_UI_UNOIDL_UNOPBACK_HXX
-#define INCLUDED_SD_SOURCE_UI_UNOIDL_UNOPBACK_HXX
+#pragma once
#include <sal/config.h>
@@ -85,6 +84,4 @@ public:
virtual css::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/unoidl/unopool.hxx b/sd/source/ui/unoidl/unopool.hxx
index f7279e9b911d..4188e80a9f40 100644
--- a/sd/source/ui/unoidl/unopool.hxx
+++ b/sd/source/ui/unoidl/unopool.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SD_SOURCE_UI_UNOIDL_UNOPOOL_HXX
-#define INCLUDED_SD_SOURCE_UI_UNOIDL_UNOPOOL_HXX
+#pragma once
#include <sal/config.h>
@@ -27,6 +26,4 @@
css::uno::Reference<css::uno::XInterface> SdUnoCreatePool(SdDrawDocument* pDrawModel);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/unoidl/unowcntr.hxx b/sd/source/ui/unoidl/unowcntr.hxx
index 8d1a5e441912..904424b407ce 100644
--- a/sd/source/ui/unoidl/unowcntr.hxx
+++ b/sd/source/ui/unoidl/unowcntr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SD_SOURCE_UI_UNOIDL_UNOWCNTR_HXX
-#define INCLUDED_SD_SOURCE_UI_UNOIDL_UNOWCNTR_HXX
+#pragma once
#include <cppuhelper/weakref.hxx>
#include <vector>
@@ -45,6 +44,4 @@ public:
void dispose();
};
-#endif // INCLUDED_SD_SOURCE_UI_UNOIDL_UNOWCNTR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */