summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorGeorge Bateman <george.bateman16@gmail.com>2020-09-13 12:12:59 +0000
committerJulien Nabet <serval2412@yahoo.fr>2020-09-13 17:50:29 +0200
commit91230736fce6d18886cf04902f477b458bf225b4 (patch)
tree4bc4e2ccf0c5bf6c6ec7f502cebdf126f1718024 /drawinglayer
parent8ff2889f417fdf9a2a2b849189dfd4e693bb7a45 (diff)
tdf#124176 Use #pragma once in drawinglayer
This commit was carried out by a Python script, source of which is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97. Change-Id: I196a60fda0fa88ea2d9ac438d5e9234fde46fb18 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102574 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/dumper/EnhancedShapeDumper.hxx4
-rw-r--r--drawinglayer/source/processor2d/getdigitlanguage.hxx5
-rw-r--r--drawinglayer/source/tools/emfpbrush.hxx5
-rw-r--r--drawinglayer/source/tools/emfpcustomlinecap.hxx5
-rw-r--r--drawinglayer/source/tools/emfpfont.hxx5
-rw-r--r--drawinglayer/source/tools/emfphelperdata.hxx5
-rw-r--r--drawinglayer/source/tools/emfpimage.hxx5
-rw-r--r--drawinglayer/source/tools/emfpimageattributes.hxx5
-rw-r--r--drawinglayer/source/tools/emfppath.hxx5
-rw-r--r--drawinglayer/source/tools/emfppen.hxx5
-rw-r--r--drawinglayer/source/tools/emfpregion.hxx5
-rw-r--r--drawinglayer/source/tools/emfpstringformat.hxx5
12 files changed, 12 insertions, 47 deletions
diff --git a/drawinglayer/source/dumper/EnhancedShapeDumper.hxx b/drawinglayer/source/dumper/EnhancedShapeDumper.hxx
index 9de2ca3e9097..2949bb95448f 100644
--- a/drawinglayer/source/dumper/EnhancedShapeDumper.hxx
+++ b/drawinglayer/source/dumper/EnhancedShapeDumper.hxx
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_DUMPER_ENHANCEDSHAPEDUMPER_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_DUMPER_ENHANCEDSHAPEDUMPER_HXX
+#pragma once
#include <libxml/xmlwriter.h>
@@ -126,6 +125,5 @@ public:
private:
xmlTextWriterPtr xmlWriter;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/processor2d/getdigitlanguage.hxx b/drawinglayer/source/processor2d/getdigitlanguage.hxx
index c634321b36f9..743f1f5e9d83 100644
--- a/drawinglayer/source/processor2d/getdigitlanguage.hxx
+++ b/drawinglayer/source/processor2d/getdigitlanguage.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_PROCESSOR2D_GETDIGITLANGUAGE_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_PROCESSOR2D_GETDIGITLANGUAGE_HXX
+#pragma once
#include <sal/config.h>
@@ -21,6 +20,4 @@ LanguageType getDigitLanguage();
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/tools/emfpbrush.hxx b/drawinglayer/source/tools/emfpbrush.hxx
index 49706c615898..ec4ab11732f2 100644
--- a/drawinglayer/source/tools/emfpbrush.hxx
+++ b/drawinglayer/source/tools/emfpbrush.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPBRUSH_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPBRUSH_HXX
+#pragma once
#include "emfphelperdata.hxx"
#include <tools/color.hxx>
@@ -126,6 +125,4 @@ namespace emfplushelper
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/tools/emfpcustomlinecap.hxx b/drawinglayer/source/tools/emfpcustomlinecap.hxx
index 3fd2d2fc64a8..a42e0ab4ef46 100644
--- a/drawinglayer/source/tools/emfpcustomlinecap.hxx
+++ b/drawinglayer/source/tools/emfpcustomlinecap.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPCUSTOMLINECAP_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPCUSTOMLINECAP_HXX
+#pragma once
#include <com/sun/star/rendering/StrokeAttributes.hpp>
#include "emfphelperdata.hxx"
@@ -41,6 +40,4 @@ namespace emfplushelper
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/tools/emfpfont.hxx b/drawinglayer/source/tools/emfpfont.hxx
index 0559cb949487..3f9e24166850 100644
--- a/drawinglayer/source/tools/emfpfont.hxx
+++ b/drawinglayer/source/tools/emfpfont.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPFONT_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPFONT_HXX
+#pragma once
#include "emfphelperdata.hxx"
@@ -46,6 +45,4 @@ namespace emfplushelper
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/tools/emfphelperdata.hxx b/drawinglayer/source/tools/emfphelperdata.hxx
index 500ceb323b02..cf3474b5b1a7 100644
--- a/drawinglayer/source/tools/emfphelperdata.hxx
+++ b/drawinglayer/source/tools/emfphelperdata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPHELPERDATA_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPHELPERDATA_HXX
+#pragma once
#include <wmfemfhelper.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
@@ -258,6 +257,4 @@ namespace emfplushelper
};
}
-#endif // INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPHELPERDATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/tools/emfpimage.hxx b/drawinglayer/source/tools/emfpimage.hxx
index ed656e2c33db..75e42e7d21e4 100644
--- a/drawinglayer/source/tools/emfpimage.hxx
+++ b/drawinglayer/source/tools/emfpimage.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPIMAGE_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPIMAGE_HXX
+#pragma once
#include "emfphelperdata.hxx"
#include <vcl/graph.hxx>
@@ -46,6 +45,4 @@ namespace emfplushelper
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/tools/emfpimageattributes.hxx b/drawinglayer/source/tools/emfpimageattributes.hxx
index 0ac76938c9e7..9d26f8f407da 100644
--- a/drawinglayer/source/tools/emfpimageattributes.hxx
+++ b/drawinglayer/source/tools/emfpimageattributes.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPIMAGEATTRIBUTES_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPIMAGEATTRIBUTES_HXX
+#pragma once
#include "emfphelperdata.hxx"
#include <vector>
@@ -32,6 +31,4 @@ struct EMFPImageAttributes : public EMFPObject
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/tools/emfppath.hxx b/drawinglayer/source/tools/emfppath.hxx
index 98996f834dd9..e3357e59dbec 100644
--- a/drawinglayer/source/tools/emfppath.hxx
+++ b/drawinglayer/source/tools/emfppath.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPPATH_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPPATH_HXX
+#pragma once
#include "emfphelperdata.hxx"
@@ -41,6 +40,4 @@ namespace emfplushelper
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/tools/emfppen.hxx b/drawinglayer/source/tools/emfppen.hxx
index 72ec12a2bed4..05b2fc376d7d 100644
--- a/drawinglayer/source/tools/emfppen.hxx
+++ b/drawinglayer/source/tools/emfppen.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPPEN_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPPEN_HXX
+#pragma once
#include "emfpbrush.hxx"
#include <vector>
@@ -127,6 +126,4 @@ namespace emfplushelper
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/tools/emfpregion.hxx b/drawinglayer/source/tools/emfpregion.hxx
index a027d9c62b37..a234abbb5539 100644
--- a/drawinglayer/source/tools/emfpregion.hxx
+++ b/drawinglayer/source/tools/emfpregion.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPREGION_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPREGION_HXX
+#pragma once
#include "emfphelperdata.hxx"
@@ -48,6 +47,4 @@ namespace emfplushelper
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/drawinglayer/source/tools/emfpstringformat.hxx b/drawinglayer/source/tools/emfpstringformat.hxx
index 69cad15a144d..b4d8cb380e36 100644
--- a/drawinglayer/source/tools/emfpstringformat.hxx
+++ b/drawinglayer/source/tools/emfpstringformat.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPSTRINGFORMAT_HXX
-#define INCLUDED_DRAWINGLAYER_SOURCE_TOOLS_EMFPSTRINGFORMAT_HXX
+#pragma once
#include "emfphelperdata.hxx"
@@ -102,6 +101,4 @@ namespace emfplushelper
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */