summaryrefslogtreecommitdiff
path: root/include/cppu/unotype.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/cppu/unotype.hxx')
-rw-r--r--include/cppu/unotype.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cppu/unotype.hxx b/include/cppu/unotype.hxx
index 7c4d37792fb8..4c7e5a758b79 100644
--- a/include/cppu/unotype.hxx
+++ b/include/cppu/unotype.hxx
@@ -22,7 +22,7 @@
#include <sal/config.h>
-#if __cplusplus >= 201103L
+#if defined LIBO_INTERNAL_ONLY
#include <type_traits>
#endif
@@ -269,7 +269,7 @@ template< typename T > class UnoType {
public:
static inline ::com::sun::star::uno::Type const & get() {
using namespace ::cppu::detail;
-#if __cplusplus >= 201103L
+#if defined LIBO_INTERNAL_ONLY
typedef typename std::remove_reference<T>::type T1;
// for certain uses of UnoType<decltype(x)>
#else