summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/comphelper/windowsdebugoutput.hxx2
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";