summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorHuilin <lynntang12138@gmail.com>2021-07-23 16:09:15 -0700
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-07-24 17:13:54 +0200
commitc5dcf48789d705d1b842e45d7c22cb38e477307c (patch)
treeff177029b2870c42ad1de1642a320859618cd1eb /sw
parent20c2d7deaab20deb6970cab563d4c7d88fefa53f (diff)
tdf#143148: Use pragma once instead of include guards
Change-Id: I5ac5ac09474b9e05b17a9c5b191ab2808eca2660 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119431 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sw')
-rwxr-xr-x[-rw-r--r--]sw/source/uibase/uno/unodefaults.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/uibase/uno/unodefaults.hxx b/sw/source/uibase/uno/unodefaults.hxx
index 91d7c8f2faa9..5c14c1726008 100644..100755
--- a/sw/source/uibase/uno/unodefaults.hxx
+++ b/sw/source/uibase/uno/unodefaults.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_SW_SOURCE_UIBASE_UNO_UNODEFAULTS_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_UNO_UNODEFAULTS_HXX
+#pragma once
#include <svx/unopool.hxx>
@@ -34,6 +33,4 @@ public:
virtual SfxItemPool* getModelPool(bool bReadOnly) noexcept override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */