summaryrefslogtreecommitdiff
path: root/include/cppu
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-24 16:35:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-24 16:35:32 +0100
commitf9bf486e25bcec4831393b6dd78ea358ff981b38 (patch)
tree2efbad1bd0133d34767b50ee82d0686e404410bf /include/cppu
parent37843706156085d7cc456dfa47306cd5cbfa3ff3 (diff)
Better check for 'defined LIBO_INTERNAL_ONLY'
(to avoid warnings about undefined macros in external code) Change-Id: Ie1007207b22c19a3d9d96f0f94070c32d417595a
Diffstat (limited to 'include/cppu')
-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 40708129ae6f..904621fc6756 100644
--- a/include/cppu/unotype.hxx
+++ b/include/cppu/unotype.hxx
@@ -149,7 +149,7 @@ cppu_detail_getUnoType(
::typelib_TypeClass_UNSIGNED_SHORT);
}
-#if LIBO_INTERNAL_ONLY
+#if defined LIBO_INTERNAL_ONLY
// cf. sal/types.h sal_Unicode
inline css::uno::Type const &
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_uInt16 const *) {
@@ -194,7 +194,7 @@ cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::cppu::UnoCharType const *) {
return ::cppu::detail::getTypeFromTypeClass(::typelib_TypeClass_CHAR);
}
-#if LIBO_INTERNAL_ONLY
+#if defined LIBO_INTERNAL_ONLY
// cf. sal/types.h sal_Unicode
inline css::uno::Type const &
cppu_detail_getUnoType(SAL_UNUSED_PARAMETER sal_Unicode const *) {