summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbuldi <dobrakowskirafal@gmail.com>2023-02-09 22:35:59 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2023-02-13 09:25:42 +0000
commit4f6d506e79884b5febb50e61f58bfdba4deef323 (patch)
tree3fc091b9ecbeb5a01b4768e2831f3ca9a0c89e09
parent69b9f50ee8c76fa6193165369ab8235cd125247e (diff)
tdf#143148 Use pragma once instead of include guard in sw
Change-Id: I9b4d2ccb608ceaafb3ee71a34831ce9cb69db6f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146729 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r--sw/source/core/access/accframe.hxx5
-rw-r--r--sw/source/core/access/acctextframe.hxx5
2 files changed, 2 insertions, 8 deletions
diff --git a/sw/source/core/access/accframe.hxx b/sw/source/core/access/accframe.hxx
index 6f2dff0ae555..c069292e11f3 100644
--- a/sw/source/core/access/accframe.hxx
+++ b/sw/source/core/access/accframe.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFRAME_HXX
-#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCFRAME_HXX
+#pragma once
#include <swrect.hxx>
@@ -158,6 +157,4 @@ inline const SwFrame *SwAccessibleFrame::GetParent() const
return GetParent( aFrameOrObj, IsInPagePreview() );
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/access/acctextframe.hxx b/sw/source/core/access/acctextframe.hxx
index 50a58729f8b0..036e1e85d326 100644
--- a/sw/source/core/access/acctextframe.hxx
+++ b/sw/source/core/access/acctextframe.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SW_SOURCE_CORE_ACCESS_ACCTEXTFRAME_HXX
-#define INCLUDED_SW_SOURCE_CORE_ACCESS_ACCTEXTFRAME_HXX
+#pragma once
#include "accframebase.hxx"
@@ -111,6 +110,4 @@ public:
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet> SAL_CALL getAccessibleRelationSet() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */