diff options
Diffstat (limited to 'include/com/sun/star/uno')
-rw-r--r-- | include/com/sun/star/uno/Reference.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/com/sun/star/uno/Reference.h b/include/com/sun/star/uno/Reference.h index 91db7f59cb65..a4bdf7c6fbba 100644 --- a/include/com/sun/star/uno/Reference.h +++ b/include/com/sun/star/uno/Reference.h @@ -181,7 +181,7 @@ private: struct S { char c[2]; }; -#if defined _MSC_VER +#if defined _MSC_VER && _MSC_VER < 1800 static char f(T2 *, long); static S f(T1 * const &, int); #else @@ -190,8 +190,8 @@ private: #endif struct H { - H(); // avoid C2514 "class has no constructors" from MSVC 2008 -#if defined _MSC_VER + H(); // avoid C2514 "class has no constructors" from MSVC +#if defined _MSC_VER && _MSC_VER < 1800 operator T1 * const & () const; #else operator T1 * () const; |