diff options
author | David Ostrovsky <david@ostrovsky.org> | 2015-07-06 23:56:44 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2015-07-22 17:56:03 +0000 |
commit | a6c47236a4c3708398d403abf940f567d15da0a6 (patch) | |
tree | f6791a8f69bfd60236168c72d499255e941ad68f /include/rtl/stringutils.hxx | |
parent | cdd699eacf853192686095399433384109e565a2 (diff) |
Apply special treatment of OUStringLiteral1 to MSVC 2015
Change-Id: I56e69fbdb555bb30cd88d75717d6f716c81ae237
Reviewed-on: https://gerrit.libreoffice.org/16804
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'include/rtl/stringutils.hxx')
-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 |