diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-07 09:01:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-07 09:01:09 +0200 |
commit | fbd85c25ba90b8db461555d735ab8b13f52d01ee (patch) | |
tree | 9f3bb13546fd588013713cd85296e422ce68218d /include/unotools | |
parent | 93d004c544c17521eebfa6e6850dca4b532e904a (diff) |
fix for older gcc
include/o3tl/typed_flags_set.hxx: In instantiation of 'o3tl::is_typed_flags<ImplFontAttrs, -0x00000000000000001>':
include/unotools/fontcfg.hxx:88:94: instantiated from here
include/o3tl/typed_flags_set.hxx:66:5: error: static assertion failed: "is_typed_flags expects only non-negative bit values"
Change-Id: Ica7873bef3fd664370a96d8066d63c473ff6798f
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/fontcfg.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unotools/fontcfg.hxx b/include/unotools/fontcfg.hxx index c13e4a5a4138..1fdd40febc93 100644 --- a/include/unotools/fontcfg.hxx +++ b/include/unotools/fontcfg.hxx @@ -85,7 +85,7 @@ enum class ImplFontAttrs : sal_uLong }; namespace o3tl { - template<> struct typed_flags<ImplFontAttrs> : is_typed_flags<ImplFontAttrs, 0xffffffff> {}; + template<> struct typed_flags<ImplFontAttrs> : is_typed_flags<ImplFontAttrs, 0xffffffffUL> {}; } |