Index: /trunk/include/VBox/com/list.h
===================================================================
--- /trunk/include/VBox/com/list.h	(revision 37541)
+++ /trunk/include/VBox/com/list.h	(revision 37542)
@@ -196,5 +196,9 @@
 };
 
+#if !defined (VBOX_WITH_XPCOM)
+template <typename T> RTCList<T> SafeArrayToRTCList(SAFEARRAY *other)
+#else
 template <typename T> RTCList<T> SafeArrayToRTCList(ComSafeArrayIn(T, other))
+#endif
 {
     com::SafeArray<T> sfaOther(ComSafeArrayInArg(other));
