summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-05-01 12:39:54 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-05-01 09:29:46 +0200
commitc70b342d6c903839528947be9885d9cbedf36d41 (patch)
treee3c74641f89d12e91979b76bcc97e42a4e16f07f /svgio
parente61cbca254fb0c060d06abbea669822f0a8582ad (diff)
svgio: use pragma once in the header files
Change-Id: I781e2083f4aab2e11bf78c3b941701ff7dd35772 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114957 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svgio')
-rw-r--r--svgio/inc/svganode.hxx5
-rw-r--r--svgio/inc/svgcharacternode.hxx14
-rw-r--r--svgio/inc/svgcirclenode.hxx5
-rw-r--r--svgio/inc/svgclippathnode.hxx5
-rw-r--r--svgio/inc/svgdocument.hxx5
-rw-r--r--svgio/inc/svgdocumenthandler.hxx5
-rw-r--r--svgio/inc/svgellipsenode.hxx5
-rw-r--r--svgio/inc/svggnode.hxx5
-rw-r--r--svgio/inc/svggradientnode.hxx5
-rw-r--r--svgio/inc/svggradientstopnode.hxx5
-rw-r--r--svgio/inc/svgimagenode.hxx5
-rw-r--r--svgio/inc/svglinenode.hxx5
-rw-r--r--svgio/inc/svgmarkernode.hxx5
-rw-r--r--svgio/inc/svgmasknode.hxx5
-rw-r--r--svgio/inc/svgnode.hxx5
-rw-r--r--svgio/inc/svgpaint.hxx5
-rw-r--r--svgio/inc/svgpathnode.hxx5
-rw-r--r--svgio/inc/svgpatternnode.hxx5
-rw-r--r--svgio/inc/svgpolynode.hxx5
-rw-r--r--svgio/inc/svgrectnode.hxx5
-rw-r--r--svgio/inc/svgstyleattributes.hxx5
-rw-r--r--svgio/inc/svgstylenode.hxx5
-rw-r--r--svgio/inc/svgsvgnode.hxx5
-rw-r--r--svgio/inc/svgsymbolnode.hxx5
-rw-r--r--svgio/inc/svgtextnode.hxx5
-rw-r--r--svgio/inc/svgtextpathnode.hxx5
-rw-r--r--svgio/inc/svgtitledescnode.hxx6
-rw-r--r--svgio/inc/svgtoken.hxx5
-rw-r--r--svgio/inc/svgtools.hxx6
-rw-r--r--svgio/inc/svgtrefnode.hxx5
-rw-r--r--svgio/inc/svgtspannode.hxx5
-rw-r--r--svgio/inc/svgusenode.hxx5
-rw-r--r--svgio/inc/svgvisitor.hxx5
33 files changed, 33 insertions, 143 deletions
diff --git a/svgio/inc/svganode.hxx b/svgio/inc/svganode.hxx
index 897e1ebe6e60..ac47da7d5cc7 100644
--- a/svgio/inc/svganode.hxx
+++ b/svgio/inc/svganode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGANODE_HXX
-#define INCLUDED_SVGIO_INC_SVGANODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -53,6 +52,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGANODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgcharacternode.hxx b/svgio/inc/svgcharacternode.hxx
index 2a3331808949..f663cf9d9d0e 100644
--- a/svgio/inc/svgcharacternode.hxx
+++ b/svgio/inc/svgcharacternode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGCHARACTERNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGCHARACTERNODE_HXX
+#pragma once
#include <sal/config.h>
#include <rtl/ref.hxx>
@@ -77,11 +76,6 @@ namespace svgio::svgreader
void setLengthAdjust(bool bNew) { mbLengthAdjust = bNew; }
};
-} // end of namespace svgio::svgreader
-
-
-namespace svgio::svgreader
- {
class SvgTextPosition
{
private:
@@ -122,11 +116,6 @@ namespace svgio::svgreader
double consumeRotation();
};
-} // end of namespace svgio::svgreader
-
-
-namespace svgio::svgreader
- {
class SvgCharacterNode final : public SvgNode
{
private:
@@ -161,6 +150,5 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGCHARACTERNODE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgcirclenode.hxx b/svgio/inc/svgcirclenode.hxx
index afb63d7ede8a..2ffcaa2ecd67 100644
--- a/svgio/inc/svgcirclenode.hxx
+++ b/svgio/inc/svgcirclenode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGCIRCLENODE_HXX
-#define INCLUDED_SVGIO_INC_SVGCIRCLENODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -65,6 +64,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGCIRCLENODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgclippathnode.hxx b/svgio/inc/svgclippathnode.hxx
index dacbf398f97d..aa2bb68931e1 100644
--- a/svgio/inc/svgclippathnode.hxx
+++ b/svgio/inc/svgclippathnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGCLIPPATHNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGCLIPPATHNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -63,6 +62,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGCLIPPATHNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgdocument.hxx b/svgio/inc/svgdocument.hxx
index d2044fca47b9..ef7817284bee 100644
--- a/svgio/inc/svgdocument.hxx
+++ b/svgio/inc/svgdocument.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGDOCUMENT_HXX
-#define INCLUDED_SVGIO_INC_SVGDOCUMENT_HXX
+#pragma once
#include "svgnode.hxx"
#include <memory>
@@ -77,6 +76,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGDOCUMENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgdocumenthandler.hxx b/svgio/inc/svgdocumenthandler.hxx
index 0d80aff0ca8d..197c9e8e83ee 100644
--- a/svgio/inc/svgdocumenthandler.hxx
+++ b/svgio/inc/svgdocumenthandler.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGDOCUMENTHANDLER_HXX
-#define INCLUDED_SVGIO_INC_SVGDOCUMENTHANDLER_HXX
+#pragma once
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include "svgdocument.hxx"
@@ -61,6 +60,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGDOCUMENTHANDLER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgellipsenode.hxx b/svgio/inc/svgellipsenode.hxx
index bd556c884a90..93f33d794130 100644
--- a/svgio/inc/svgellipsenode.hxx
+++ b/svgio/inc/svgellipsenode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGELLIPSENODE_HXX
-#define INCLUDED_SVGIO_INC_SVGELLIPSENODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -69,6 +68,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGELLIPSENODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svggnode.hxx b/svgio/inc/svggnode.hxx
index 8a4e4742e79a..e59df3e74890 100644
--- a/svgio/inc/svggnode.hxx
+++ b/svgio/inc/svggnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGGNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGGNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -54,6 +53,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGGNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svggradientnode.hxx b/svgio/inc/svggradientnode.hxx
index b5e41e984de2..e383995c89fe 100644
--- a/svgio/inc/svggradientnode.hxx
+++ b/svgio/inc/svggradientnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGGRADIENTNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGGRADIENTNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -116,6 +115,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGGRADIENTNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svggradientstopnode.hxx b/svgio/inc/svggradientstopnode.hxx
index 268ea6c29357..ea2bbec7f933 100644
--- a/svgio/inc/svggradientstopnode.hxx
+++ b/svgio/inc/svggradientstopnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGGRADIENTSTOPNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGGRADIENTSTOPNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -49,6 +48,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGGRADIENTSTOPNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgimagenode.hxx b/svgio/inc/svgimagenode.hxx
index 796ae8f58ccd..e778e992fdf5 100644
--- a/svgio/inc/svgimagenode.hxx
+++ b/svgio/inc/svgimagenode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGIMAGENODE_HXX
-#define INCLUDED_SVGIO_INC_SVGIMAGENODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -77,6 +76,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGIMAGENODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svglinenode.hxx b/svgio/inc/svglinenode.hxx
index 876ca774a37e..82889add15c5 100644
--- a/svgio/inc/svglinenode.hxx
+++ b/svgio/inc/svglinenode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGLINENODE_HXX
-#define INCLUDED_SVGIO_INC_SVGLINENODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -69,6 +68,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGLINENODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgmarkernode.hxx b/svgio/inc/svgmarkernode.hxx
index 645017e8845d..dc9f13d81f7a 100644
--- a/svgio/inc/svgmarkernode.hxx
+++ b/svgio/inc/svgmarkernode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGMARKERNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGMARKERNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -104,6 +103,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGMARKERNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgmasknode.hxx b/svgio/inc/svgmasknode.hxx
index e039bb2bf080..2a359c53e995 100644
--- a/svgio/inc/svgmasknode.hxx
+++ b/svgio/inc/svgmasknode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGMASKNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGMASKNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -83,6 +82,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGMASKNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgnode.hxx b/svgio/inc/svgnode.hxx
index fcf31f296ba7..93c303fa2df7 100644
--- a/svgio/inc/svgnode.hxx
+++ b/svgio/inc/svgnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGNODE_HXX
+#pragma once
#include "svgtools.hxx"
#include "svgtoken.hxx"
@@ -191,6 +190,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgpaint.hxx b/svgio/inc/svgpaint.hxx
index e234f43064ad..ad1c232dfbd8 100644
--- a/svgio/inc/svgpaint.hxx
+++ b/svgio/inc/svgpaint.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGPAINT_HXX
-#define INCLUDED_SVGIO_INC_SVGPAINT_HXX
+#pragma once
#include <basegfx/color/bcolor.hxx>
@@ -50,6 +49,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGPAINT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgpathnode.hxx b/svgio/inc/svgpathnode.hxx
index 3b03d1f24c5c..3bb0327db559 100644
--- a/svgio/inc/svgpathnode.hxx
+++ b/svgio/inc/svgpathnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGPATHNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGPATHNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -64,6 +63,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGPATHNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgpatternnode.hxx b/svgio/inc/svgpatternnode.hxx
index 150a1ff679e0..a8b4497a335d 100644
--- a/svgio/inc/svgpatternnode.hxx
+++ b/svgio/inc/svgpatternnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGPATTERNNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGPATTERNNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -114,6 +113,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGPATTERNNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgpolynode.hxx b/svgio/inc/svgpolynode.hxx
index dc0d8a9c1407..abd14271d543 100644
--- a/svgio/inc/svgpolynode.hxx
+++ b/svgio/inc/svgpolynode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGPOLYNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGPOLYNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -60,6 +59,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGPOLYNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgrectnode.hxx b/svgio/inc/svgrectnode.hxx
index 9921a6a7ab9c..61088e8fdff8 100644
--- a/svgio/inc/svgrectnode.hxx
+++ b/svgio/inc/svgrectnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGRECTNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGRECTNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -77,6 +76,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGRECTNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgstyleattributes.hxx b/svgio/inc/svgstyleattributes.hxx
index 1b3fcded0102..1bb7c757b2b3 100644
--- a/svgio/inc/svgstyleattributes.hxx
+++ b/svgio/inc/svgstyleattributes.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGSTYLEATTRIBUTES_HXX
-#define INCLUDED_SVGIO_INC_SVGSTYLEATTRIBUTES_HXX
+#pragma once
#include "svgpaint.hxx"
#include "svgnode.hxx"
@@ -439,6 +438,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGSTYLEATTRIBUTES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgstylenode.hxx b/svgio/inc/svgstylenode.hxx
index 0fd2eb035d4c..320b4fa17dcc 100644
--- a/svgio/inc/svgstylenode.hxx
+++ b/svgio/inc/svgstylenode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGSTYLENODE_HXX
-#define INCLUDED_SVGIO_INC_SVGSTYLENODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -56,6 +55,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGSTYLENODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgsvgnode.hxx b/svgio/inc/svgsvgnode.hxx
index f2506b67663a..5fe92bd08397 100644
--- a/svgio/inc/svgsvgnode.hxx
+++ b/svgio/inc/svgsvgnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGSVGNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGSVGNODE_HXX
+#pragma once
#include "svgstyleattributes.hxx"
#include <memory>
@@ -91,6 +90,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGSVGNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgsymbolnode.hxx b/svgio/inc/svgsymbolnode.hxx
index fc002754f131..c0822e9be3fd 100644
--- a/svgio/inc/svgsymbolnode.hxx
+++ b/svgio/inc/svgsymbolnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGSYMBOLNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGSYMBOLNODE_HXX
+#pragma once
#include "svgstyleattributes.hxx"
@@ -44,6 +43,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGSYMBOLNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgtextnode.hxx b/svgio/inc/svgtextnode.hxx
index f78e128dfac8..d7a912b56994 100644
--- a/svgio/inc/svgtextnode.hxx
+++ b/svgio/inc/svgtextnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGTEXTNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGTEXTNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -68,6 +67,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGTEXTNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgtextpathnode.hxx b/svgio/inc/svgtextpathnode.hxx
index 26558ca63a01..bafd8e9e4335 100644
--- a/svgio/inc/svgtextpathnode.hxx
+++ b/svgio/inc/svgtextpathnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGTEXTPATHNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGTEXTPATHNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -58,6 +57,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGTEXTPATHNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgtitledescnode.hxx b/svgio/inc/svgtitledescnode.hxx
index 50eb5bc73ee2..78394d81eccb 100644
--- a/svgio/inc/svgtitledescnode.hxx
+++ b/svgio/inc/svgtitledescnode.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_SVGIO_INC_SVGTITLEDESCNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGTITLEDESCNODE_HXX
+#pragma once
#include <sal/config.h>
@@ -50,7 +49,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-
-#endif // INCLUDED_SVGIO_INC_SVGTITLEDESCNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgtoken.hxx b/svgio/inc/svgtoken.hxx
index fe5e67a630bb..16b7aad5f696 100644
--- a/svgio/inc/svgtoken.hxx
+++ b/svgio/inc/svgtoken.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGTOKEN_HXX
-#define INCLUDED_SVGIO_INC_SVGTOKEN_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -187,6 +186,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGTOKEN_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgtools.hxx b/svgio/inc/svgtools.hxx
index 9c2068b57184..550c33d88fac 100644
--- a/svgio/inc/svgtools.hxx
+++ b/svgio/inc/svgtools.hxx
@@ -17,9 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGTOOLS_HXX
-#define INCLUDED_SVGIO_INC_SVGTOOLS_HXX
-
+#pragma once
#include <basegfx/color/bcolor.hxx>
#include <basegfx/range/b2drange.hxx>
@@ -137,6 +135,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGTOOLS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgtrefnode.hxx b/svgio/inc/svgtrefnode.hxx
index 6dd15c533eaf..04fbb509c80e 100644
--- a/svgio/inc/svgtrefnode.hxx
+++ b/svgio/inc/svgtrefnode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGTREFNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGTREFNODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -51,6 +50,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGTREFNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgtspannode.hxx b/svgio/inc/svgtspannode.hxx
index e23c93c1a529..af4ae8268b5c 100644
--- a/svgio/inc/svgtspannode.hxx
+++ b/svgio/inc/svgtspannode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGTSPANNODE_HXX
-#define INCLUDED_SVGIO_INC_SVGTSPANNODE_HXX
+#pragma once
#include "svgcharacternode.hxx"
#include "svgstyleattributes.hxx"
@@ -51,6 +50,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGTSPANNODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgusenode.hxx b/svgio/inc/svgusenode.hxx
index 363796935d2c..110ce0c1e3fa 100644
--- a/svgio/inc/svgusenode.hxx
+++ b/svgio/inc/svgusenode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVGIO_INC_SVGUSENODE_HXX
-#define INCLUDED_SVGIO_INC_SVGUSENODE_HXX
+#pragma once
#include "svgnode.hxx"
#include "svgstyleattributes.hxx"
@@ -71,6 +70,4 @@ namespace svgio::svgreader
} // end of namespace svgio::svgreader
-#endif // INCLUDED_SVGIO_INC_SVGUSENODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svgio/inc/svgvisitor.hxx b/svgio/inc/svgvisitor.hxx
index c58cbfb35249..2aa1f978fe4e 100644
--- a/svgio/inc/svgvisitor.hxx
+++ b/svgio/inc/svgvisitor.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SVGIO_INC_SVGVISITOR_HXX
-#define INCLUDED_SVGIO_INC_SVGVISITOR_HXX
+#pragma once
#include <basegfx/DrawCommands.hxx>
#include <memory>
@@ -33,6 +32,4 @@ public:
};
}
-#endif // INCLUDED_SVGIO_INC_SVGVISITOR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */