Kaydet (Commit) db5918f5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Replace macro with function

Change-Id: I41603579d71190b60e6b7c349b2296120757e4f2
üst 54ad4ef4
......@@ -179,7 +179,7 @@ namespace o3tl
template<> struct typed_flags<SetAttrMode> : is_typed_flags<SetAttrMode, 0x1ff> {};
}
#define SW_ISPRINTABLE( c ) ( c >= ' ' && 127 != c )
constexpr bool SW_ISPRINTABLE(sal_Unicode c) { return c >= ' ' && 127 != c; }
#define CHAR_HARDBLANK u'\x00A0'
#define CHAR_HARDHYPHEN u'\x2011'
......
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