diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-03-26 19:51:35 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-05-31 21:36:26 +0300 |
commit | 7d6a1bff0a502436ab58cfc8f8c1120212481820 (patch) | |
tree | f3d6a602e29c754856905dccaa507776f97d10e7 /include | |
parent | 54767afcb7179afe733152dcf93802cc2f99e7b6 (diff) |
Mask away the extra bits from vt before switching
Change-Id: Ie05fd6c9e6b47c4aae9410833aae9bd5ba23ff40
(cherry picked from commit ea23987d9a1033f4fd4b0d33bc7c7bedea60a91e)
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/windowsdebugoutput.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/windowsdebugoutput.hxx b/include/comphelper/windowsdebugoutput.hxx index b8edf723443f..206fe0bdd0d0 100644 --- a/include/comphelper/windowsdebugoutput.hxx +++ b/include/comphelper/windowsdebugoutput.hxx @@ -113,7 +113,7 @@ inline std::basic_ostream<charT, traits>& operator<<(std::basic_ostream<charT, t if (rVariant.vt & VT_BYREF) stream << "BYREF:"; - switch (rVariant.vt) + switch (rVariant.vt & ~(VT_VECTOR | VT_ARRAY | VT_BYREF)) { case VT_EMPTY: stream << "EMPTY"; |