summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorSiddharth <skhattar111@gmail.com>2022-11-09 11:30:33 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-11-19 18:58:02 +0100
commit9cac01b4f19c8fc3adb1a19a71b2f214a1586d8f (patch)
tree072716ce8a53ed9ce45f34f45a11793c729417fa /sw/inc
parent931e3d204e59ccb2e9c479477e6e66b2c098924f (diff)
tdf#143148 Use pragma once instead of include guards
Change-Id: I50c2c0f202780d06b556ae82b51bab5c3f79d72e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142498 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/unostyle.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 7091fd603602..2c936486032e 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.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_INC_UNOSTYLE_HXX
-#define INCLUDED_SW_INC_UNOSTYLE_HXX
+#pragma once
#include <svl/listener.hxx>
#include <svl/style.hxx>
@@ -391,6 +390,5 @@ class SwXTextCellStyle final : public cppu::WeakImplHelper
static css::uno::Reference<css::style::XStyle> CreateXTextCellStyle(SwDocShell* pDocShell, const OUString& sName);
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */