Kaydet (Commit) 4be799fc authored tarafından Caolán McNamara's avatar Caolán McNamara

build error: specialization in different namespace

Change-Id: Ic1730a49576a663a2e04a2386bd3962a21b6fc48
üst 9783ea51
...@@ -53,13 +53,14 @@ enum class PushFlags : sal_uInt16 { ...@@ -53,13 +53,14 @@ enum class PushFlags : sal_uInt16 {
//bool operator bool() { return static_cast<sal_uInt16>(*this) != 0; } //bool operator bool() { return static_cast<sal_uInt16>(*this) != 0; }
}; };
template<>
struct o3tl::typed_flags<PushFlags>: o3tl::is_typed_flags<PushFlags, 0xFFFF> {}; namespace o3tl
{
template<> struct typed_flags<PushFlags> : is_typed_flags<PushFlags, 0xFFFF> {};
}
#define PUSH_ALLTEXT (PushFlags::TEXTCOLOR | PushFlags::TEXTFILLCOLOR | PushFlags::TEXTLINECOLOR | PushFlags::OVERLINECOLOR | PushFlags::TEXTALIGN | PushFlags::TEXTLAYOUTMODE | PushFlags::TEXTLANGUAGE) #define PUSH_ALLTEXT (PushFlags::TEXTCOLOR | PushFlags::TEXTFILLCOLOR | PushFlags::TEXTLINECOLOR | PushFlags::OVERLINECOLOR | PushFlags::TEXTALIGN | PushFlags::TEXTLAYOUTMODE | PushFlags::TEXTLANGUAGE)
#define PUSH_ALLFONT (PUSH_ALLTEXT | PushFlags::FONT) #define PUSH_ALLFONT (PUSH_ALLTEXT | PushFlags::FONT)
// LayoutModes for Complex Text Layout // LayoutModes for Complex Text Layout
// These are flag values, i.e they can be combined // These are flag values, i.e they can be combined
enum ComplexTextLayoutMode enum ComplexTextLayoutMode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment