include/comphelper/windowsdebugoutput.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ea23987d9a1033f4fd4b0d33bc7c7bedea60a91e Author: Tor Lillqvist <t...@collabora.com> Date: Mon Mar 26 19:51:35 2018 +0300 Mask away the extra bits from vt before switching Change-Id: Ie05fd6c9e6b47c4aae9410833aae9bd5ba23ff40 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"; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits