summaryrefslogtreecommitdiff
path: root/sd/inc/undo
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/inc/undo
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/inc/undo')
-rw-r--r--sd/inc/undo/undofactory.hxx5
-rw-r--r--sd/inc/undo/undomanager.hxx5
-rw-r--r--sd/inc/undo/undoobjects.hxx5
3 files changed, 3 insertions, 12 deletions
diff --git a/sd/inc/undo/undofactory.hxx b/sd/inc/undo/undofactory.hxx
index 6341b006a568..92b875c78f3b 100644
--- a/sd/inc/undo/undofactory.hxx
+++ b/sd/inc/undo/undofactory.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SD_INC_UNDO_UNDOFACTORY_HXX
-#define INCLUDED_SD_INC_UNDO_UNDOFACTORY_HXX
+#pragma once
#include <svx/svdundo.hxx>
@@ -38,6 +37,4 @@ public:
}
-#endif // INCLUDED_SD_INC_UNDO_UNDOFACTORY_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/undo/undomanager.hxx b/sd/inc/undo/undomanager.hxx
index 771af280103f..f4b2e6dd4e6f 100644
--- a/sd/inc/undo/undomanager.hxx
+++ b/sd/inc/undo/undomanager.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SD_INC_UNDO_UNDOMANAGER_HXX
-#define INCLUDED_SD_INC_UNDO_UNDOMANAGER_HXX
+#pragma once
#include <svx/sdrundomanager.hxx>
@@ -59,6 +58,4 @@ private:
}
-#endif // INCLUDED_SD_INC_UNDO_UNDOMANAGER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/undo/undoobjects.hxx b/sd/inc/undo/undoobjects.hxx
index b7eae9b85d66..4602187ec28e 100644
--- a/sd/inc/undo/undoobjects.hxx
+++ b/sd/inc/undo/undoobjects.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SD_INC_UNDO_UNDOOBJECTS_HXX
-#define INCLUDED_SD_INC_UNDO_UNDOOBJECTS_HXX
+#pragma once
#include <memory>
#include <svx/svdundo.hxx>
@@ -173,6 +172,4 @@ private:
} // namespace sd
-#endif // INCLUDED_SD_INC_UNDO_UNDOOBJECTS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */