[Libreoffice-commits] core.git: include/comphelper
Tor Lillqvist
tml at collabora.com
Mon Mar 26 16:57:23 UTC 2018
include/comphelper/windowsdebugoutput.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ea23987d9a1033f4fd4b0d33bc7c7bedea60a91e
Author: Tor Lillqvist <tml at 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";
More information about the Libreoffice-commits
mailing list