summaryrefslogtreecommitdiff
path: root/svx/source/gallery2
diff options
context:
space:
mode:
authorHarshit Jain <harshitjain1371999@gmail.com>2020-03-23 13:33:40 +0530
committerMuhammet Kara <muhammet.kara@collabora.com>2020-03-23 12:35:57 +0100
commitfd1cd5522283f279a01d6d673f676a1346e9358b (patch)
tree3f4703ea2e2e32c2db054a0922286d7f9618dbff /svx/source/gallery2
parent41dcf55d347d4f4810379148b2db0fb4a41d3465 (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: Ia4a6b35a9a734e9fa1dc9dea702fc1ec370021f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90901 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'svx/source/gallery2')
-rw-r--r--svx/source/gallery2/codec.hxx5
-rw-r--r--svx/source/gallery2/galbrws1.hxx5
-rw-r--r--svx/source/gallery2/gallerydrawmodel.hxx5
3 files changed, 3 insertions, 12 deletions
diff --git a/svx/source/gallery2/codec.hxx b/svx/source/gallery2/codec.hxx
index efde247c9475..35ead899ccb7 100644
--- a/svx/source/gallery2/codec.hxx
+++ b/svx/source/gallery2/codec.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVX_SOURCE_GALLERY2_CODEC_HXX
-#define INCLUDED_SVX_SOURCE_GALLERY2_CODEC_HXX
+#pragma once
#include <sal/types.h>
@@ -40,6 +39,4 @@ public:
static bool IsCoded( SvStream& rStm, sal_uInt32& rVersion );
};
-#endif // INCLUDED_SVX_SOURCE_GALLERY2_CODEC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/gallery2/galbrws1.hxx b/svx/source/gallery2/galbrws1.hxx
index 3164aadcbb3b..128ef5accb1a 100644
--- a/svx/source/gallery2/galbrws1.hxx
+++ b/svx/source/gallery2/galbrws1.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVX_SOURCE_GALLERY2_GALBRWS1_HXX
-#define INCLUDED_SVX_SOURCE_GALLERY2_GALBRWS1_HXX
+#pragma once
#include <svl/lstner.hxx>
#include <vector>
@@ -87,6 +86,4 @@ public:
void GrabFocus();
};
-#endif // INCLUDED_SVX_SOURCE_GALLERY2_GALBRWS1_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/gallery2/gallerydrawmodel.hxx b/svx/source/gallery2/gallerydrawmodel.hxx
index 75dc966cd2f5..0b2ef2582125 100644
--- a/svx/source/gallery2/gallerydrawmodel.hxx
+++ b/svx/source/gallery2/gallerydrawmodel.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVX_SOURCE_GALLERY2_GALLERYDRAWMODEL_HXX
-#define INCLUDED_SVX_SOURCE_GALLERY2_GALLERYDRAWMODEL_HXX
+#pragma once
#include <sfx2/objsh.hxx>
@@ -37,6 +36,4 @@ private:
FmFormModel* mpFormModel;
};
-#endif // INCLUDED_SVX_SOURCE_GALLERY2_GALLERYDRAWMODEL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */