[Libreoffice-commits] core.git: unotools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jan 10 15:10:32 UTC 2019


 unotools/source/i18n/resmgr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2aa92391daf6bf2ee3c2a332786f592a3d84c771
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jan 10 09:07:57 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jan 10 16:10:03 2019 +0100

    __cplusplus >= 201703L is always true now for _MSC_VER
    
    ...since 50cb96346ad54bcdb172acf11b4befe540e2b152 "Use correct __cplusplus value
    with MSVC"
    
    Change-Id: Ic107a8eff42b6e3961a787d1310cf4df78c26d49
    Reviewed-on: https://gerrit.libreoffice.org/66064
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/unotools/source/i18n/resmgr.cxx b/unotools/source/i18n/resmgr.cxx
index d2a59c727cf7..654d3c2fae19 100644
--- a/unotools/source/i18n/resmgr.cxx
+++ b/unotools/source/i18n/resmgr.cxx
@@ -23,7 +23,7 @@
 #include <config_libcxx.h>
 #if HAVE_LIBCXX
 #define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
-#elif defined _MSC_VER && __cplusplus >= 201703L
+#elif defined _MSC_VER
 #define _HAS_AUTO_PTR_ETC 1
 #endif
 


More information about the Libreoffice-commits mailing list