summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorBogdan B <buzea.bogdan@libreoffice.org>2022-11-21 20:11:31 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-11-22 10:20:45 +0100
commitf2daf6c28fea2b8a1c7c8638ed14f3c0e6c5a034 (patch)
tree55cb1373efc9eb3155fbcd898f582dd2234829f2 /vcl
parent2302ebefb2e25878e8fe1e64d208f265f87d5b9b (diff)
tdf#143148 Use pragma once instead of include guards
Change-Id: I7ff944967188567ae00e09357fe83b8c3e639dcb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143060 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/osx/HtmlFmtFlt.hxx5
-rw-r--r--vcl/osx/OSXTransferable.hxx5
-rw-r--r--vcl/osx/PictToBmpFlt.hxx5
3 files changed, 3 insertions, 12 deletions
diff --git a/vcl/osx/HtmlFmtFlt.hxx b/vcl/osx/HtmlFmtFlt.hxx
index a50b72a6b32d..5286efb1deda 100644
--- a/vcl/osx/HtmlFmtFlt.hxx
+++ b/vcl/osx/HtmlFmtFlt.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_OSX_HTMLFMTFLT_HXX
-#define INCLUDED_VCL_OSX_HTMLFMTFLT_HXX
+#pragma once
#include <com/sun/star/uno/Sequence.hxx>
@@ -36,6 +35,4 @@ css::uno::Sequence<sal_Int8> HTMLFormatToTextHtml(const css::uno::Sequence<sal_I
*/
bool isHTMLFormat(const css::uno::Sequence<sal_Int8>& aHtmlSequence);
-#endif // INCLUDED_VCL_OSX_HTMLFMTFLT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/osx/OSXTransferable.hxx b/vcl/osx/OSXTransferable.hxx
index 2e7056145dd1..e4a00b880eb6 100644
--- a/vcl/osx/OSXTransferable.hxx
+++ b/vcl/osx/OSXTransferable.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_OSX_OSXTRANSFERABLE_HXX
-#define INCLUDED_VCL_OSX_OSXTRANSFERABLE_HXX
+#pragma once
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <cppuhelper/implbase.hxx>
@@ -69,6 +68,4 @@ private:
NSPasteboard* mPasteboard;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/osx/PictToBmpFlt.hxx b/vcl/osx/PictToBmpFlt.hxx
index e0e111818d99..d43146e03fcb 100644
--- a/vcl/osx/PictToBmpFlt.hxx
+++ b/vcl/osx/PictToBmpFlt.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_VCL_OSX_PICTTOBMPFLT_HXX
-#define INCLUDED_VCL_OSX_PICTTOBMPFLT_HXX
+#pragma once
#include <com/sun/star/uno/Sequence.hxx>
@@ -32,6 +31,4 @@ bool ImageToPNG(css::uno::Sequence<sal_Int8> const& rImgData,
bool PNGToImage(css::uno::Sequence<sal_Int8> const& rPngData,
css::uno::Sequence<sal_Int8>& rImgData, NSBitmapImageFileType eOutFormat);
-#endif // INCLUDED_VCL_OSX_PICTTOBMPFLT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */