summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMesut Çifci <mesutcifci97@gmail.com>2019-12-18 20:00:26 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-12-19 07:37:55 +0100
commit0b827a6a64300430b43dfb48daab33f81d3494de (patch)
treebc9472ff5c6cbecab33f67d53ad8a11470c2b7d7 /cui
parenteb973a46ba0e34026db2d2929f2aa10505623872 (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I377809c01053ebaf2fe004478e144509adbbdd1f Reviewed-on: https://gerrit.libreoffice.org/85416 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/doclinkdialog.hxx5
-rw-r--r--cui/source/options/fontsubs.hxx6
2 files changed, 3 insertions, 8 deletions
diff --git a/cui/source/options/doclinkdialog.hxx b/cui/source/options/doclinkdialog.hxx
index 0e66ebfd6b0c..f9e48f3e57c9 100644
--- a/cui/source/options/doclinkdialog.hxx
+++ b/cui/source/options/doclinkdialog.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CUI_SOURCE_OPTIONS_DOCLINKDIALOG_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_DOCLINKDIALOG_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <svtools/inettbc.hxx>
@@ -59,6 +58,4 @@ namespace svx
};
}
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_DOCLINKDIALOG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/fontsubs.hxx b/cui/source/options/fontsubs.hxx
index 880c11675858..0de6d711c3ed 100644
--- a/cui/source/options/fontsubs.hxx
+++ b/cui/source/options/fontsubs.hxx
@@ -16,8 +16,8 @@
* 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_CUI_SOURCE_OPTIONS_FONTSUBS_HXX
-#define INCLUDED_CUI_SOURCE_OPTIONS_FONTSUBS_HXX
+
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -57,6 +57,4 @@ public:
virtual void Reset( const SfxItemSet* rSet ) override;
};
-#endif // INCLUDED_CUI_SOURCE_OPTIONS_FONTSUBS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */