summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarjot <harjotsingh20022001@gmail.com>2021-11-17 19:48:56 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-11-21 14:40:56 +0100
commit805fd18d934c7323f678eb4df2f4b770ea8184f1 (patch)
treee7e471c8aa463ef6e384b803d23eb656e74b498d
parent7ef421dbfbfd486f235a7c5bdbd856b8ee9d62ea (diff)
tdf#143148 Use pragma once in i18npool
Change-Id: Id67d8926fdc1616add1bd9de051911b2aae030e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125419 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r--i18npool/inc/breakiteratorImpl.hxx6
-rw-r--r--i18npool/inc/breakiterator_cjk.hxx5
-rw-r--r--i18npool/inc/breakiterator_th.hxx5
-rw-r--r--i18npool/inc/breakiterator_unicode.hxx5
-rw-r--r--i18npool/inc/calendarImpl.hxx5
-rw-r--r--i18npool/inc/calendar_gregorian.hxx5
-rw-r--r--i18npool/inc/calendar_hijri.hxx5
-rw-r--r--i18npool/inc/calendar_jewish.hxx5
-rw-r--r--i18npool/inc/cclass_unicode.hxx5
-rw-r--r--i18npool/inc/chaptercollator.hxx5
-rw-r--r--i18npool/inc/characterclassificationImpl.hxx5
-rw-r--r--i18npool/inc/chartonum.hxx5
-rw-r--r--i18npool/inc/collatorImpl.hxx5
-rw-r--r--i18npool/inc/collator_unicode.hxx5
-rw-r--r--i18npool/inc/defaultnumberingprovider.hxx6
-rw-r--r--i18npool/inc/indexentrysupplier.hxx5
-rw-r--r--i18npool/inc/indexentrysupplier_asian.hxx5
-rw-r--r--i18npool/inc/indexentrysupplier_common.hxx4
-rw-r--r--i18npool/inc/indexentrysupplier_default.hxx5
-rw-r--r--i18npool/inc/indexentrysupplier_ja_phonetic.hxx4
-rw-r--r--i18npool/inc/inputsequencechecker.hxx5
-rw-r--r--i18npool/inc/inputsequencechecker_hi.hxx5
-rw-r--r--i18npool/inc/inputsequencechecker_th.hxx5
-rw-r--r--i18npool/inc/localedata.hxx5
-rw-r--r--i18npool/inc/nativenumbersupplier.hxx5
-rw-r--r--i18npool/inc/numberformatcode.hxx6
-rw-r--r--i18npool/inc/numtochar.hxx5
-rw-r--r--i18npool/inc/numtotext_cjk.hxx5
-rw-r--r--i18npool/inc/ordinalsuffix.hxx5
-rw-r--r--i18npool/inc/servicename.hxx5
-rw-r--r--i18npool/inc/textconversion.hxx5
-rw-r--r--i18npool/inc/textconversionImpl.hxx6
-rw-r--r--i18npool/inc/texttonum.hxx5
-rw-r--r--i18npool/inc/transliterationImpl.hxx5
-rw-r--r--i18npool/inc/transliteration_Ignore.hxx5
-rw-r--r--i18npool/inc/transliteration_Numeric.hxx5
-rw-r--r--i18npool/inc/transliteration_OneToOne.hxx5
-rw-r--r--i18npool/inc/transliteration_body.hxx5
-rw-r--r--i18npool/inc/transliteration_caseignore.hxx5
-rw-r--r--i18npool/inc/transliteration_commonclass.hxx5
-rw-r--r--i18npool/inc/unoscripttypedetector.hxx5
-rw-r--r--i18npool/inc/wtt.h5
-rw-r--r--i18npool/inc/xdictionary.hxx5
43 files changed, 44 insertions, 173 deletions
diff --git a/i18npool/inc/breakiteratorImpl.hxx b/i18npool/inc/breakiteratorImpl.hxx
index a90f06182777..c27645a60ef2 100644
--- a/i18npool/inc/breakiteratorImpl.hxx
+++ b/i18npool/inc/breakiteratorImpl.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_I18NPOOL_INC_BREAKITERATORIMPL_HXX
-#define INCLUDED_I18NPOOL_INC_BREAKITERATORIMPL_HXX
+#pragma once
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
@@ -122,7 +121,4 @@ private:
} // i18npool
-
-#endif // INCLUDED_I18NPOOL_INC_BREAKITERATORIMPL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/breakiterator_cjk.hxx b/i18npool/inc/breakiterator_cjk.hxx
index a11a1535691f..fce0d295ca68 100644
--- a/i18npool/inc/breakiterator_cjk.hxx
+++ b/i18npool/inc/breakiterator_cjk.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_I18NPOOL_INC_BREAKITERATOR_CJK_HXX
-#define INCLUDED_I18NPOOL_INC_BREAKITERATOR_CJK_HXX
+#pragma once
#include "breakiterator_unicode.hxx"
#include "xdictionary.hxx"
@@ -67,6 +66,4 @@ public:
}
-#endif // INCLUDED_I18NPOOL_INC_BREAKITERATOR_CJK_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/breakiterator_th.hxx b/i18npool/inc/breakiterator_th.hxx
index c694e79e2575..cc6a717493ab 100644
--- a/i18npool/inc/breakiterator_th.hxx
+++ b/i18npool/inc/breakiterator_th.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_I18NPOOL_INC_BREAKITERATOR_TH_HXX
-#define INCLUDED_I18NPOOL_INC_BREAKITERATOR_TH_HXX
+#pragma once
#include "breakiterator_unicode.hxx"
@@ -51,6 +50,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/breakiterator_unicode.hxx b/i18npool/inc/breakiterator_unicode.hxx
index ebb193ea2d68..d468a2ebf941 100644
--- a/i18npool/inc/breakiterator_unicode.hxx
+++ b/i18npool/inc/breakiterator_unicode.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_I18NPOOL_INC_BREAKITERATOR_UNICODE_HXX
-#define INCLUDED_I18NPOOL_INC_BREAKITERATOR_UNICODE_HXX
+#pragma once
#include "breakiteratorImpl.hxx"
@@ -106,6 +105,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/calendarImpl.hxx b/i18npool/inc/calendarImpl.hxx
index 97135505146c..4d90ed0ef2be 100644
--- a/i18npool/inc/calendarImpl.hxx
+++ b/i18npool/inc/calendarImpl.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_I18NPOOL_INC_CALENDARIMPL_HXX
-#define INCLUDED_I18NPOOL_INC_CALENDARIMPL_HXX
+#pragma once
#include <com/sun/star/i18n/XCalendar4.hpp>
#include <cppuhelper/implbase.hxx>
@@ -105,6 +104,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/calendar_gregorian.hxx b/i18npool/inc/calendar_gregorian.hxx
index f66300d42e0a..1ee7cabaab1e 100644
--- a/i18npool/inc/calendar_gregorian.hxx
+++ b/i18npool/inc/calendar_gregorian.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_I18NPOOL_INC_CALENDAR_GREGORIAN_HXX
-#define INCLUDED_I18NPOOL_INC_CALENDAR_GREGORIAN_HXX
+#pragma once
#include "calendarImpl.hxx"
@@ -202,6 +201,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/calendar_hijri.hxx b/i18npool/inc/calendar_hijri.hxx
index 707c877710a0..b25c4cb0b44f 100644
--- a/i18npool/inc/calendar_hijri.hxx
+++ b/i18npool/inc/calendar_hijri.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_I18NPOOL_INC_CALENDAR_HIJRI_HXX
-#define INCLUDED_I18NPOOL_INC_CALENDAR_HIJRI_HXX
+#pragma once
#include "calendar_gregorian.hxx"
@@ -47,6 +46,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/calendar_jewish.hxx b/i18npool/inc/calendar_jewish.hxx
index 8a1e9f9057ba..0f43cf87e834 100644
--- a/i18npool/inc/calendar_jewish.hxx
+++ b/i18npool/inc/calendar_jewish.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_I18NPOOL_INC_CALENDAR_JEWISH_HXX
-#define INCLUDED_I18NPOOL_INC_CALENDAR_JEWISH_HXX
+#pragma once
#include "calendar_gregorian.hxx"
@@ -42,6 +41,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/cclass_unicode.hxx b/i18npool/inc/cclass_unicode.hxx
index b08170638de8..4ae4f5fd362e 100644
--- a/i18npool/inc/cclass_unicode.hxx
+++ b/i18npool/inc/cclass_unicode.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_I18NPOOL_INC_CCLASS_UNICODE_HXX
-#define INCLUDED_I18NPOOL_INC_CCLASS_UNICODE_HXX
+#pragma once
#include <com/sun/star/i18n/XCharacterClassification.hpp>
#include <cppuhelper/implbase.hxx>
@@ -182,6 +181,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/chaptercollator.hxx b/i18npool/inc/chaptercollator.hxx
index deb897a69b7e..267c11b28749 100644
--- a/i18npool/inc/chaptercollator.hxx
+++ b/i18npool/inc/chaptercollator.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_I18NPOOL_INC_CHAPTERCOLLATOR_HXX
-#define INCLUDED_I18NPOOL_INC_CHAPTERCOLLATOR_HXX
+#pragma once
#include "collatorImpl.hxx"
@@ -52,6 +51,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/characterclassificationImpl.hxx b/i18npool/inc/characterclassificationImpl.hxx
index 9fc342d3949b..dad22515a79e 100644
--- a/i18npool/inc/characterclassificationImpl.hxx
+++ b/i18npool/inc/characterclassificationImpl.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_I18NPOOL_INC_CHARACTERCLASSIFICATIONIMPL_HXX
-#define INCLUDED_I18NPOOL_INC_CHARACTERCLASSIFICATIONIMPL_HXX
+#pragma once
#include <com/sun/star/i18n/XCharacterClassification.hpp>
#include <cppuhelper/implbase.hxx>
@@ -96,6 +95,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/chartonum.hxx b/i18npool/inc/chartonum.hxx
index d908334b8a0f..b9dd97d103fb 100644
--- a/i18npool/inc/chartonum.hxx
+++ b/i18npool/inc/chartonum.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_I18NPOOL_INC_CHARTONUM_HXX
-#define INCLUDED_I18NPOOL_INC_CHARTONUM_HXX
+#pragma once
#include "transliteration_Numeric.hxx"
@@ -50,6 +49,4 @@ TRANSLITERATION_CHARTONUM(_th)
}
-#endif // INCLUDED_I18NPOOL_INC_CHARTONUM_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/collatorImpl.hxx b/i18npool/inc/collatorImpl.hxx
index c1068638d8bc..150f96bd7aa6 100644
--- a/i18npool/inc/collatorImpl.hxx
+++ b/i18npool/inc/collatorImpl.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_I18NPOOL_INC_COLLATORIMPL_HXX
-#define INCLUDED_I18NPOOL_INC_COLLATORIMPL_HXX
+#pragma once
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/i18n/XCollator.hpp>
@@ -107,6 +106,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/collator_unicode.hxx b/i18npool/inc/collator_unicode.hxx
index 3c9e9ee1d6d4..f0173799a04a 100644
--- a/i18npool/inc/collator_unicode.hxx
+++ b/i18npool/inc/collator_unicode.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_I18NPOOL_INC_COLLATOR_UNICODE_HXX
-#define INCLUDED_I18NPOOL_INC_COLLATOR_UNICODE_HXX
+#pragma once
#include <com/sun/star/i18n/XCollator.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -70,6 +69,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/defaultnumberingprovider.hxx b/i18npool/inc/defaultnumberingprovider.hxx
index 6dc0751f0520..74f03b7e95e8 100644
--- a/i18npool/inc/defaultnumberingprovider.hxx
+++ b/i18npool/inc/defaultnumberingprovider.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_I18NPOOL_INC_DEFAULTNUMBERINGPROVIDER_HXX
-#define INCLUDED_I18NPOOL_INC_DEFAULTNUMBERINGPROVIDER_HXX
+#pragma once
#include <com/sun/star/text/XDefaultNumberingProvider.hpp>
#include <com/sun/star/text/XNumberingFormatter.hpp>
@@ -90,7 +89,4 @@ private:
}
-
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/indexentrysupplier.hxx b/i18npool/inc/indexentrysupplier.hxx
index 44056d32ced2..bbfe58b76348 100644
--- a/i18npool/inc/indexentrysupplier.hxx
+++ b/i18npool/inc/indexentrysupplier.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_I18NPOOL_INC_INDEXENTRYSUPPLIER_HXX
-#define INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_HXX
+#pragma once
#include <sal/config.h>
@@ -92,6 +91,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/indexentrysupplier_asian.hxx b/i18npool/inc/indexentrysupplier_asian.hxx
index a993d7f16ac6..52e452b17b01 100644
--- a/i18npool/inc/indexentrysupplier_asian.hxx
+++ b/i18npool/inc/indexentrysupplier_asian.hxx
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_ASIAN_HXX
-#define INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_ASIAN_HXX
+#pragma once
+
#include "indexentrysupplier_common.hxx"
#include <osl/module.h>
@@ -51,6 +51,5 @@ private:
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/indexentrysupplier_common.hxx b/i18npool/inc/indexentrysupplier_common.hxx
index f728e4230500..eaa752d4ffcb 100644
--- a/i18npool/inc/indexentrysupplier_common.hxx
+++ b/i18npool/inc/indexentrysupplier_common.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_COMMON_HXX
-#define INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_COMMON_HXX
+#pragma once
#include <com/sun/star/i18n/XExtendedIndexEntrySupplier.hpp>
#include <cppuhelper/implbase.hxx>
@@ -91,6 +90,5 @@ protected:
};
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/indexentrysupplier_default.hxx b/i18npool/inc/indexentrysupplier_default.hxx
index f45dd8f8b2d3..caf71326d632 100644
--- a/i18npool/inc/indexentrysupplier_default.hxx
+++ b/i18npool/inc/indexentrysupplier_default.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_I18NPOOL_INC_INDEXENTRYSUPPLIER_DEFAULT_HXX
-#define INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_DEFAULT_HXX
+#pragma once
#include "indexentrysupplier_common.hxx"
@@ -103,6 +102,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/indexentrysupplier_ja_phonetic.hxx b/i18npool/inc/indexentrysupplier_ja_phonetic.hxx
index e376796ad0d1..5ea5cfbb4430 100644
--- a/i18npool/inc/indexentrysupplier_ja_phonetic.hxx
+++ b/i18npool/inc/indexentrysupplier_ja_phonetic.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_JA_PHONETIC_HXX
-#define INCLUDED_I18NPOOL_INC_INDEXENTRYSUPPLIER_JA_PHONETIC_HXX
+#pragma once
#include "indexentrysupplier_common.hxx"
@@ -60,6 +59,5 @@ INDEXENTRYSUPPLIER_JA_PHONETIC( ja_phonetic_alphanumeric_last_by_syllable, " (
INDEXENTRYSUPPLIER_JA_PHONETIC( ja_phonetic_alphanumeric_last_by_consonant, " (alphanumeric last) (grouped by consonant)" )
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/inputsequencechecker.hxx b/i18npool/inc/inputsequencechecker.hxx
index eff426f5caa3..b491f6b63175 100644
--- a/i18npool/inc/inputsequencechecker.hxx
+++ b/i18npool/inc/inputsequencechecker.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_I18NPOOL_INC_INPUTSEQUENCECHECKER_HXX
-#define INCLUDED_I18NPOOL_INC_INPUTSEQUENCECHECKER_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -76,6 +75,4 @@ private:
}
-#endif // INCLUDED_I18NPOOL_INC_INPUTSEQUENCECHECKER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/inputsequencechecker_hi.hxx b/i18npool/inc/inputsequencechecker_hi.hxx
index 88cfc9801126..a190edbc72f5 100644
--- a/i18npool/inc/inputsequencechecker_hi.hxx
+++ b/i18npool/inc/inputsequencechecker_hi.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_I18NPOOL_INC_INPUTSEQUENCECHECKER_HI_HXX
-#define INCLUDED_I18NPOOL_INC_INPUTSEQUENCECHECKER_HI_HXX
+#pragma once
#include "inputsequencechecker.hxx"
@@ -40,6 +39,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/inputsequencechecker_th.hxx b/i18npool/inc/inputsequencechecker_th.hxx
index 582bbd9ade94..062aea1f880f 100644
--- a/i18npool/inc/inputsequencechecker_th.hxx
+++ b/i18npool/inc/inputsequencechecker_th.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_I18NPOOL_INC_INPUTSEQUENCECHECKER_TH_HXX
-#define INCLUDED_I18NPOOL_INC_INPUTSEQUENCECHECKER_TH_HXX
+#pragma once
#include "inputsequencechecker.hxx"
@@ -40,6 +39,4 @@ public:
}
-#endif // INCLUDED_I18NPOOL_INC_INPUTSEQUENCECHECKER_TH_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx
index 327e9c196bc7..5e8da5e48ee2 100644
--- a/i18npool/inc/localedata.hxx
+++ b/i18npool/inc/localedata.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_I18NPOOL_INC_LOCALEDATA_HXX
-#define INCLUDED_I18NPOOL_INC_LOCALEDATA_HXX
+#pragma once
#include <com/sun/star/i18n/XLocaleData5.hpp>
@@ -158,6 +157,4 @@ private:
}
-#endif // INCLUDED_I18NPOOL_INC_LOCALEDATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/nativenumbersupplier.hxx b/i18npool/inc/nativenumbersupplier.hxx
index 1f3e613caa62..01459ce9f7a5 100644
--- a/i18npool/inc/nativenumbersupplier.hxx
+++ b/i18npool/inc/nativenumbersupplier.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_I18NPOOL_INC_NATIVENUMBERSUPPLIER_HXX
-#define INCLUDED_I18NPOOL_INC_NATIVENUMBERSUPPLIER_HXX
+#pragma once
#include <com/sun/star/i18n/XNativeNumberSupplier2.hpp>
#include <com/sun/star/i18n/NativeNumberXmlAttributes.hpp>
@@ -83,6 +82,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/numberformatcode.hxx b/i18npool/inc/numberformatcode.hxx
index d51abd7de74b..fba19db55fb7 100644
--- a/i18npool/inc/numberformatcode.hxx
+++ b/i18npool/inc/numberformatcode.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_I18NPOOL_INC_NUMBERFORMATCODE_HXX
-#define INCLUDED_I18NPOOL_INC_NUMBERFORMATCODE_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
@@ -68,7 +67,4 @@ private:
static sal_Int16 mapElementUsageStringToShort(std::u16string_view formatUsage);
};
-
-#endif // INCLUDED_I18NPOOL_INC_NUMBERFORMATCODE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/numtochar.hxx b/i18npool/inc/numtochar.hxx
index 686d72d5c077..f571a496c804 100644
--- a/i18npool/inc/numtochar.hxx
+++ b/i18npool/inc/numtochar.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_I18NPOOL_INC_NUMTOCHAR_HXX
-#define INCLUDED_I18NPOOL_INC_NUMTOCHAR_HXX
+#pragma once
#include "transliteration_Numeric.hxx"
@@ -51,6 +50,4 @@ TRANSLITERATION_NUMTOCHAR(Halfwidth)
}
-#endif // INCLUDED_I18NPOOL_INC_NUMTOCHAR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/numtotext_cjk.hxx b/i18npool/inc/numtotext_cjk.hxx
index 56f7b5f0235e..68518e3cc546 100644
--- a/i18npool/inc/numtotext_cjk.hxx
+++ b/i18npool/inc/numtotext_cjk.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_I18NPOOL_INC_NUMTOTEXT_CJK_HXX
-#define INCLUDED_I18NPOOL_INC_NUMTOTEXT_CJK_HXX
+#pragma once
#include "transliteration_Numeric.hxx"
@@ -66,6 +65,4 @@ TRANSLITERATION_NUMTOTEXT_CJK ( HangulCircledSyllable_ko )
}
-#endif // INCLUDED_I18NPOOL_INC_NUMTOTEXT_CJK_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/ordinalsuffix.hxx b/i18npool/inc/ordinalsuffix.hxx
index 65c41f51ed55..39342359fc06 100644
--- a/i18npool/inc/ordinalsuffix.hxx
+++ b/i18npool/inc/ordinalsuffix.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_I18NPOOL_INC_ORDINALSUFFIX_HXX
-#define INCLUDED_I18NPOOL_INC_ORDINALSUFFIX_HXX
+#pragma once
#include <com/sun/star/i18n/XOrdinalSuffix.hpp>
#include <cppuhelper/implbase.hxx>
@@ -50,6 +49,4 @@ class OrdinalSuffixService final : public cppu::WeakImplHelper
}
-#endif // INCLUDED_I18NPOOL_INC_ORDINALSUFFIX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/servicename.hxx b/i18npool/inc/servicename.hxx
index a988d31d031d..37c79e548c2c 100644
--- a/i18npool/inc/servicename.hxx
+++ b/i18npool/inc/servicename.hxx
@@ -53,8 +53,7 @@ Implementation Name
*/
-#ifndef INCLUDED_I18NPOOL_INC_SERVICENAME_HXX
-#define INCLUDED_I18NPOOL_INC_SERVICENAME_HXX
+#pragma once
#define TRLT_SERVICELNAME "com.sun.star.i18n.Transliteration"
#define TRLT_SERVICELNAME_L10N TRLT_SERVICELNAME ".l10n"
@@ -62,6 +61,4 @@ Implementation Name
#define TRLT_IMPLNAME_PREFIX "com.sun.star.i18n.Transliteration."
// 1...5...901...5...901...5...901..4 --> 34
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/textconversion.hxx b/i18npool/inc/textconversion.hxx
index efd9b587a760..a6fefa1c507e 100644
--- a/i18npool/inc/textconversion.hxx
+++ b/i18npool/inc/textconversion.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_I18NPOOL_INC_TEXTCONVERSION_HXX
-#define INCLUDED_I18NPOOL_INC_TEXTCONVERSION_HXX
+#pragma once
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/i18n/XExtendedTextConversion.hpp>
@@ -158,6 +157,4 @@ private:
} // i18npool
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/textconversionImpl.hxx b/i18npool/inc/textconversionImpl.hxx
index 4a104f59719a..29a049cca785 100644
--- a/i18npool/inc/textconversionImpl.hxx
+++ b/i18npool/inc/textconversionImpl.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_I18NPOOL_INC_TEXTCONVERSIONIMPL_HXX
-#define INCLUDED_I18NPOOL_INC_TEXTCONVERSIONIMPL_HXX
+#pragma once
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/i18n/XExtendedTextConversion.hpp>
@@ -73,7 +72,4 @@ private:
} // i18npool
-
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/texttonum.hxx b/i18npool/inc/texttonum.hxx
index de8fa829530d..ad095fff9c89 100644
--- a/i18npool/inc/texttonum.hxx
+++ b/i18npool/inc/texttonum.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_I18NPOOL_INC_TEXTTONUM_HXX
-#define INCLUDED_I18NPOOL_INC_TEXTTONUM_HXX
+#pragma once
#include "transliteration_Numeric.hxx"
@@ -48,6 +47,4 @@ TRANSLITERATION_TEXTTONUM(KanjiLongTraditional_ja_JP)
}
-#endif // INCLUDED_I18NPOOL_INC_TEXTTONUM_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/transliterationImpl.hxx b/i18npool/inc/transliterationImpl.hxx
index 822ab835aec5..95c5fa2a088f 100644
--- a/i18npool/inc/transliterationImpl.hxx
+++ b/i18npool/inc/transliterationImpl.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_I18NPOOL_INC_TRANSLITERATIONIMPL_HXX
-#define INCLUDED_I18NPOOL_INC_TRANSLITERATIONIMPL_HXX
+#pragma once
#include <com/sun/star/i18n/XExtendedTransliteration.hpp>
#include <cppuhelper/implbase.hxx>
@@ -109,6 +108,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/transliteration_Ignore.hxx b/i18npool/inc/transliteration_Ignore.hxx
index eaf9d602179a..3ce28f5c682a 100644
--- a/i18npool/inc/transliteration_Ignore.hxx
+++ b/i18npool/inc/transliteration_Ignore.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_I18NPOOL_INC_TRANSLITERATION_IGNORE_HXX
-#define INCLUDED_I18NPOOL_INC_TRANSLITERATION_IGNORE_HXX
+#pragma once
#include "transliteration_commonclass.hxx"
#include <unicode/translit.h>
@@ -155,6 +154,4 @@ TRANSLITERATION_IGNORE(Size_ja_JP)
}
-#endif // INCLUDED_I18NPOOL_INC_TRANSLITERATION_IGNORE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/transliteration_Numeric.hxx b/i18npool/inc/transliteration_Numeric.hxx
index 10dc5f662afb..a01f505b929a 100644
--- a/i18npool/inc/transliteration_Numeric.hxx
+++ b/i18npool/inc/transliteration_Numeric.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_I18NPOOL_INC_TRANSLITERATION_NUMERIC_HXX
-#define INCLUDED_I18NPOOL_INC_TRANSLITERATION_NUMERIC_HXX
+#pragma once
#include "transliteration_commonclass.hxx"
@@ -56,6 +55,4 @@ private:
}
-#endif // INCLUDED_I18NPOOL_INC_TRANSLITERATION_NUMERIC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/transliteration_OneToOne.hxx b/i18npool/inc/transliteration_OneToOne.hxx
index 957abcf84de2..c8e885f02433 100644
--- a/i18npool/inc/transliteration_OneToOne.hxx
+++ b/i18npool/inc/transliteration_OneToOne.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_I18NPOOL_INC_TRANSLITERATION_ONETOONE_HXX
-#define INCLUDED_I18NPOOL_INC_TRANSLITERATION_ONETOONE_HXX
+#pragma once
#include "transliteration_commonclass.hxx"
@@ -111,6 +110,4 @@ TRANSLITERATION_ONETOONE(smallToLarge_ja_JP)
}
-#endif // INCLUDED_I18NPOOL_INC_TRANSLITERATION_ONETOONE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/transliteration_body.hxx b/i18npool/inc/transliteration_body.hxx
index d602cbfd6ffb..a53aa77d15d2 100644
--- a/i18npool/inc/transliteration_body.hxx
+++ b/i18npool/inc/transliteration_body.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_I18NPOOL_INC_TRANSLITERATION_BODY_HXX
-#define INCLUDED_I18NPOOL_INC_TRANSLITERATION_BODY_HXX
+#pragma once
#include "transliteration_commonclass.hxx"
#include <i18nutil/casefolding.hxx>
@@ -100,6 +99,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/transliteration_caseignore.hxx b/i18npool/inc/transliteration_caseignore.hxx
index c16dfca46f6c..919cec3796cd 100644
--- a/i18npool/inc/transliteration_caseignore.hxx
+++ b/i18npool/inc/transliteration_caseignore.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_I18NPOOL_INC_TRANSLITERATION_CASEIGNORE_HXX
-#define INCLUDED_I18NPOOL_INC_TRANSLITERATION_CASEIGNORE_HXX
+#pragma once
#include "transliteration_body.hxx"
@@ -59,6 +58,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/transliteration_commonclass.hxx b/i18npool/inc/transliteration_commonclass.hxx
index 3cead59a913c..4dc1b31fcc6f 100644
--- a/i18npool/inc/transliteration_commonclass.hxx
+++ b/i18npool/inc/transliteration_commonclass.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_I18NPOOL_INC_TRANSLITERATION_COMMONCLASS_HXX
-#define INCLUDED_I18NPOOL_INC_TRANSLITERATION_COMMONCLASS_HXX
+#pragma once
#include <com/sun/star/i18n/XExtendedTransliteration.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -101,6 +100,4 @@ protected:
}
-#endif // INCLUDED_I18NPOOL_INC_TRANSLITERATION_COMMONCLASS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/unoscripttypedetector.hxx b/i18npool/inc/unoscripttypedetector.hxx
index 2e1d3f2ff88e..255828b5176d 100644
--- a/i18npool/inc/unoscripttypedetector.hxx
+++ b/i18npool/inc/unoscripttypedetector.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_I18NPOOL_INC_UNOSCRIPTTYPEDETECTOR_HXX
-#define INCLUDED_I18NPOOL_INC_UNOSCRIPTTYPEDETECTOR_HXX
+#pragma once
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -48,6 +47,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/wtt.h b/i18npool/inc/wtt.h
index df4e2feac44f..f3e76f968434 100644
--- a/i18npool/inc/wtt.h
+++ b/i18npool/inc/wtt.h
@@ -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_I18NPOOL_INC_WTT_H
-#define INCLUDED_I18NPOOL_INC_WTT_H
+#pragma once
namespace i18npool {
@@ -63,6 +62,4 @@ const sal_uInt16 thaiCT[128] = { // Thai character type
}
-#endif // INCLUDED_I18NPOOL_INC_WTT_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/inc/xdictionary.hxx b/i18npool/inc/xdictionary.hxx
index 664e88a4fa48..cc7364bd14fc 100644
--- a/i18npool/inc/xdictionary.hxx
+++ b/i18npool/inc/xdictionary.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_I18NPOOL_INC_XDICTIONARY_HXX
-#define INCLUDED_I18NPOOL_INC_XDICTIONARY_HXX
+#pragma once
#include <sal/types.h>
@@ -86,6 +85,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */