diff options
-rw-r--r-- | include/rtl/stringutils.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rtl/stringutils.hxx b/include/rtl/stringutils.hxx index ff25d4d57b20..d1b3cc433849 100644 --- a/include/rtl/stringutils.hxx +++ b/include/rtl/stringutils.hxx @@ -77,7 +77,7 @@ template<char C> struct SAL_WARN_UNUSED OUStringLiteral1_ { "non-ASCII character in OUStringLiteral1"); char const c = C; }; -#if defined _MSC_VER && _MSC_VER <= 1800 // Visual Studio 2013 +#if defined _MSC_VER && _MSC_VER <= 1900 // Visual Studio 2015 template<char C> using OUStringLiteral1 = OUStringLiteral1_<C>; #pragma warning(disable: 4239) #else @@ -216,8 +216,8 @@ template< int N > struct ExceptCharArrayDetector< const char[ N ] > { }; -#if defined LIBO_INTERNAL_ONLY && defined _MSC_VER && _MSC_VER <= 1800 - // Visual Studio 2013 +#if defined LIBO_INTERNAL_ONLY && defined _MSC_VER && _MSC_VER <= 1900 + // Visual Studio 2015 template<char C> struct ExceptCharArrayDetector<OUStringLiteral1<C>> {}; #endif |