diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-03-26 19:51:35 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-03-26 19:56:33 +0300 |
commit | ea23987d9a1033f4fd4b0d33bc7c7bedea60a91e (patch) | |
tree | 0f960efd3a90642f6060e2575537b5632f53029a /include | |
parent | 2634200a15c42e45edcaaaeac81243c67ded3ad1 (diff) |
Mask away the extra bits from vt before switching
Change-Id: Ie05fd6c9e6b47c4aae9410833aae9bd5ba23ff40
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 9b7447657075..fddf3593eacf 100644 --- a/include/comphelper/windowsdebugoutput.hxx +++ b/include/comphelper/windowsdebugoutput.hxx @@ -117,7 +117,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"; |