summaryrefslogtreecommitdiffstats
path: root/include/i18nlangtag
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2018-05-24 21:43:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-25 12:34:37 +0200
commita28a839b9f9eeec1544c5ceeeabe7b1083ce1655 (patch)
tree6e2fe3813a9a9d51429c10c97f22b5cee399d3a6 /include/i18nlangtag
parentSOSAW080: Derive SdrObjGroup from SdrObjList (diff)
downloadcore-a28a839b9f9eeec1544c5ceeeabe7b1083ce1655.tar.gz
core-a28a839b9f9eeec1544c5ceeeabe7b1083ce1655.zip
no need declare these tag structs separately
Change-Id: I00f336ee4eced431155c79bee6e2373e145ae95c Reviewed-on: https://gerrit.libreoffice.org/54780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/i18nlangtag')
-rw-r--r--include/i18nlangtag/lang.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h
index 84adccafc6bf..d49b701d94c8 100644
--- a/include/i18nlangtag/lang.h
+++ b/include/i18nlangtag/lang.h
@@ -83,8 +83,8 @@
#include <sal/types.h>
#include <o3tl/strong_int.hxx>
#include <ostream>
-struct LanguageTypeTag {};
-typedef o3tl::strong_int<sal_uInt16, LanguageTypeTag> LanguageType;
+
+typedef o3tl::strong_int<sal_uInt16, struct LanguageTypeTag> LanguageType;
inline std::ostream& operator<<(std::ostream& os, LanguageType const & lt) { os << sal_uInt16(lt); return os; }
constexpr LanguageType primary(LanguageType lt) { return LanguageType(sal_uInt16(lt) & 0x03ff); }